数据结构SqStack 数组实现栈 #include<stdio.h> #include<iostream> #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 typedef struct SqStack { int* base; int* top; int stacksize; void Init(SqStack& S); void Push(SqStack& S, int e); void Pop