Visitors hit counter dreamweaver
摘要: #include <stdio.h>#include <stdlib.h>typedef char DataType;typedef struct BiTNode{ DataType data; struct BiTNode *lchild,*rchild;}BiTNode,*BiTree;//二叉树树的建立 先序void CreateBiTree(BiTree T){ char ch; if((ch=getchar())=='') *T=NULL; //读入为空,将相应指针置空 else { *T=(BiTree)malloc(sizeof(BiTNo 阅读全文
posted @ 2011-10-11 23:54 Jason Damon 阅读(398) 评论(0) 推荐(0) 编辑