堆栈的基本操做(用数组实现)

typedef int Position; struct SNode {     ElementType *Data; /* 存储元素的数组 */     Position Top;      /* 栈顶指针 */     int MaxSize;       /* 堆栈最大容量 */ }; typedef struct SNode *Stack;   Stack CreateStack( int
相关文章
相关标签/搜索