2013年9月5日
摘要: #include#includetypedef struct BitNode{ char data; struct BitNode *lchild,*rchild;} *BiTree;int CreateBiTree(BiTree &T){char ch;//char ch1; ch =getchar(); //ch =ch1; if(ch == '#' ) T =NULL; else { if(!(T = (BitNode*)malloc(sizeof(BitNode)))) exit(0); T->data = ch;//生成根结点; CreateBiTree 阅读全文
posted @ 2013-09-05 23:49 gac 阅读(408) 评论(0) 推荐(0) 编辑