摘要:
栈的基本操作 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #define StackSize 100 5 #define Sizeincrease 10 6 7 typedef int SElemtype; 8 typedef struct{ 9 SElemtype *base;10 SElemtype *top;11 int stacksize;12 }SqStack;13 SElemtype e;14 15 SElemtype Initial(SqStack &S)16 {17 S.base=(SElem.. 阅读全文