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

📄 node.h

📁 把中缀表达式转换为后缀表达后
💻 H
字号:
#ifndef NODE_H_
#define NODE_H_
enum Error_code{success,overflow,underflow,fail};
template<class Node_entry>
struct Node{
	Node_entry entry;
	Node<Node_entry> *next;
	Node();
	Node(Node_entry item,Node<Node_entry> *add_on=NULL);
};
template <class Stack_entry>
Node<Stack_entry>::Node(){
	next=NULL;
}
/****************************************************************/
template <class Stack_entry>
Node<Stack_entry>::Node(Stack_entry item,Node<Stack_entry> *add_on){
	entry=item;
	next=add_on;
}
#endif

⌨️ 快捷键说明

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