c4栈的操作
struct SqStack { ElemType elem[MAX]; int top; }; void OutStack(struct SqStack S); void InitStack(struct SqStack *p); void Push(struct SqStack *p,ElemType x); ElemType Pop(struct SqStack *p); ElemType GetTop(struct SqStack *p);
用户评论