二叉树的操作(二叉树的创建、先序遍历--->先根、中序遍历---->先左、后续遍历--->后根)
#include "stdlib.h" #include "stdio.h" #include "Windows.h"#include using namespace std; /*引入头文件*/struct tnode /*定义二叉树存储结构*/{ char data; struct tnode*lchild; struct tnode*rchi
原创
2014-04-21 11:17:52 ·
556 阅读 ·
0 评论