摘要:
1 //存储空间大小宏定义 2 #define STACK_INIT_SIZE 100 3 #define STACKINCREMENT 10 4 5 //结构体定义 6 typedef struct{ 7 SElemType * base; 8 SElemType * top; 9 int StackSize;10 }SqStack;11 12 //方法声明13 status InitStack(SqStack &s);14 status Push(SqStack &s,SElemType e);15 status Pop(Sqstack &s,... 阅读全文
posted @ 2013-10-05 22:01
helo_blog
阅读(306)
评论(0)
推荐(0)

浙公网安备 33010602011771号