2022年4月2日
摘要: #include <iostream> using namespace std; const int MAX_SIZE = 100; template<class DataType> class BothStack { private: DataType *data; int top1,top2; 阅读全文
posted @ 2022-04-02 21:14 历史锅巴 阅读(43) 评论(0) 推荐(0)
摘要: using namespace std; const int MAX_SIZE = 100; template<class DataType> class Stack { private: DataType *data; int size; int top; public: Stack(); Sta 阅读全文
posted @ 2022-04-02 20:47 历史锅巴 阅读(38) 评论(0) 推荐(0)