⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linkedstack.h

📁 背包问题的解决
💻 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 + -