9.21学习总结
作者:互联网
(1)今日安排
学习两栈共享
const int Stack_Size=100; template<class T> class BothStack { public: BothStack( ); ~BothStack( ); void Push(int i, T x); T Pop(int i); T GetTop(int i); bool Empty(int i); private: T data[Stack_Size]; int top1, top2; };
标签:总结,9.21,int,BothStack,private,学习,Stack,Empty,Size 来源: https://www.cnblogs.com/qiuyutingyyds/p/15317845.html