C++数据结构栈的实现

#include<iostream> using namespace std; template<typename T> class Stack { public: Stack(int s=10); ~Stack(); bool StackEmpty(); int StackLength(); T GetTop(T &e); void Push(T e); T Pop(T &e);
相关文章
相关标签/搜索