栈的建立和应用

/* 栈的基本操做函数 CreateStack() IsFull() Push() IsEmpty() Pop() 栈的特色:先进后出(LIFO),表尾即栈顶,仅在表尾进行插入或删除的线性表 */ 顺序栈(即地址连续的存储单元) #define StackIncrease 20 typedef struct{ ElemType *base; ElemType *top; int StackSize
相关文章
相关标签/搜索