代码搜索结果
找到约 10,000 项符合
6 的代码
bo6-6.cpp
// bo6-6.cpp 二叉树的三叉链表存储(存储结构由c6-7.h定义)的基本操作(21个)
Status InitBiTree(BiPTree &T)
{ // 操作结果: 构造空二叉树T
T=NULL;
return OK;
}
void DestroyBiTree(BiPTree &T)
{ // 初始条件: 二叉树T存在。操作结果: 销毁二叉树
main6-6.cpp
// main6-6.cpp 检验bo6-6.cpp的主程序
#define CHAR // 字符型
//#define INT // 整型(二者选一)
#include"c1.h"
#ifdef CHAR
typedef char TElemType;
TElemType Nil=' '; // 字符型以空格符为空
#endif
#ifdef INT
c6-6.h
// c6-6.h 二叉树的三叉链表存储表示
typedef struct BiTPNode
{
TElemType data;
BiTPNode *parent,*lchild,*rchild; // 双亲、左右孩子指针
}BiTPNode,*BiPTree;
exam6_6.rc
//Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
//
exam6_6.dsp
# Microsoft Developer Studio Project File - Name="Exam6_6" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) A
exam6_6.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
exam6_6.plg
Build Log
--------------------Configuration: Exam6_6 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\wenwe