📄 linkedstack.h
字号:
#ifndef LINKEDSTACK_H
#define LINKEDSTACK_H
#include "Node.h"
class linkedstack{
public:
linkedstack(){top=0;}
~linkedstack();
bool isempty()const{return top==0;}
bool isfull()const;
int Top()const;
int last()const;
linkedstack &Add(const int &x);
linkedstack &Delete(int &x);
private:
Node *top;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -