摘要:
#include<iostream>#include<stdio.h>#include<malloc.h>using namespace std;#define MaxSize 100#define MaxWidth 40typedef char ElemType;typedef struct node{ ElemType data;//数据元素 struct node *lchild;//指向左孩子 struct node *rchild;//指向右孩子}BTNode;BTNode *CreateBT1(char *pre,char *in,int n)/ 阅读全文