文件名称:c++4栈的操作
文件大小:2KB
文件格式:TXT
更新时间:2021-09-07 11:58:39
SqStack
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);