顺序栈的基本操作实现

顺序栈的基本操作实现 本题实现了顺序栈的初始化、批量入栈、批量出栈、取栈顶元素。 #include<iostream> #define MAXSIZE 100 #define OVERFLOW -2 #define ERROR 1 #define OK 0 using namespace std; typedef int SElemType; typedef struct{ SElemType
相关文章
相关标签/搜索