摘要:
二叉树的创建与遍历:#include <iostream>#include <stdio.h>#include <string.h>using namespace std;char *str="";//二叉树结点的定义typedef struct BTNode{char data;struct BTNode *lc;struct BTNode *rc;}BTNode,*BiTree;void Creat(BiTree &T){ char ch[2]; scanf("%s",&ch[0]);//cin.g 阅读全文