tree.h

来自「这是我在英国的C语言导师自己所写的一个二叉树的程序。」· C头文件 代码 · 共 31 行

H
31
字号
/* Header file for binary tree applications.

	Author: Michael Boyd, adapted from Kelly and Pohl
   Date  : 25-MAY-2004
   File  : tree.h

*/

#if !defined (TREE_H)
#define TREE_H

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>

typedef char DATA;

typedef struct node
{
	DATA	d;
	struct node *left;
	struct node *right;
} NODE;

typedef NODE *BTREE;

#include "fct_proto.h"

#endif

⌨️ 快捷键说明

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