王道c语言-chap13 栈实例 #include <iostream> #define END -1 #define MaxSize 50 typedef int ElemType; typedef struct { int data[MaxSize]; int top; } SqStack; void InitStack(SqStack &s) { s.top=-1; } void PrinfSqStack(SqStack s) { for (int i = 0; i <= s