说明: #include using namespace std; const int MAX_SIZE = 100; //堆栈类 template class Stack { private: Type list[MAX_SIZE]; int top;//标记 public: Stack(); void Push(const Type & a);//入栈 Type Pop();//出栈 void Clear();//清空栈 Type GetTop();//获取栈顶元素 bool IsEmpty(
<guangxidaxue123> 在 上传 | 大小:4096