摘要: #include<iostream>using namespace std;#define LEN sizeof(struct node)typedef struct node *pnode;int n; //节点个数struct node{ char val; pnode lchild; pnode rchild; };//生成二叉树 pnode createBinaryTree(){ char ch; scanf("%c", &ch); //421##3##76##8#9## pnode root = (pnode)malloc(LEN);... 阅读全文
posted @ 2012-03-25 17:25 爱也玲珑 阅读(758) 评论(0) 推荐(0) 编辑