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

📄 ctree.h

📁 《c++ 实践之路》光盘中的源代码
💻 H
字号:
#if !defined (CTREE_H)
#define CTREE_H
/* (c) Bartosz Milewski 2000 */

#define NUM_NODE 1
#define ADD_NODE 2
#define MULT_NODE 3

struct Node
{
	/* Node type */
	int type;
	/* Used only in numeric nodes */
	double val;
	/* Used only in binary nodes */
	struct Node * pLeft;
	struct Node * pRight;
};

double Calc (struct Node * pNode);

#endif

⌨️ 快捷键说明

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