算法定义 http://baike.baidu.com/view/549587.htm
// BTree.cpp : Defines the entry point for the console application./* 作者:成晓旭 时间:2001年7月2日(9:00:00-14:00:00) 内容:完成二叉树的创建、前序遍历、中序遍历、后序遍历 时间:2001年7月2日(14:00:00-16:00:00) 内容:完成二叉树的叶子节点访问,交换左、右孩子*/#include "stdafx.h"#include "stdlib.h"
#define MAX_NODE 100#define NODE_COUNT1 8#define NODE_COUNT2 15
int TreeValue0[NODE_COUNT1][2] = {{'0',0},{'D',1},{'B',2},{'F',3},{'A',4},{......
阅读全文