摘要:
#include "stdio.h" #include "malloc.h"#define maxsize 100typedef int datatype;typedef struct node { datatype data; struct node *Lchild,*Rchild; }BTNode;void CreateBTNode(BTNode *&b,char *str) { struct node *st[maxsize],*p=NULL; int top=-1,k,j=0; char ch; b=NULL; ch=str[j]; wh 阅读全文