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

📄 stack.h

📁 包括图、二叉树、链表
💻 H
字号:
#include "Polynomial.h"
const	int maxstack = 10;   //  small value for testing
typedef Polynomial Stack_entry;
class Stack 
{
public:
	Stack();
	bool empty() const;
	int size() const;
	bool full()const;
	void clear();
	Error_code pop();
	Error_code top(Stack_entry &item) const;
	Error_code push(const Stack_entry &item);
private:
	int count;
	Stack_entry entry[maxstack];
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -