順序棧的基本操作實現

順序棧的基本操作實現 本題實現了順序棧的初始化、批量入棧、批量出棧、取棧頂元素。 #include<iostream> #define MAXSIZE 100 #define OVERFLOW -2 #define ERROR 1 #define OK 0 using namespace std; typedef int SElemType; typedef struct{ SElemType
相關文章
相關標籤/搜索