二叉树基本操作:二叉树的基本操作
#include stdio.h
#includestdlib.h
#define Maxsize 100
#define NULL 0
typedef char Elemtype;
typedef struct node{
Elemtype data;
struct node *lchild,*rchild;
}BTNode;
typedef BTNode *BinTree;
//in... [阅读全文]
二叉树的基本操作:二叉树基本操作的程序实现
//Bintree.h
#includestdio.h
#includemalloc.h
typedef struct Binnode{//二叉树结点结构体
char data;
struct Binnode *lchild;
struct Binnode *rchild;
};
typedef Binnode *Bintree ;
typedef struct sta... [阅读全文]
1 共1条 分1页