提交 fff2cf5a 创建 作者: 宋海霞's avatar 宋海霞

modify

上级 d4e57472
......@@ -3,37 +3,37 @@
//
// 在此处包含 C 标准库头文件
// Include the C standard library header file here
//
#include <stdio.h>
//
// 在此处包含其他头文件
// Other header files are included here
//
//
// 在此处定义数据结构
// Define the data structure here
//
#define MAX_STACK_SIZE 20 // 栈存储空间的大小
#define MAX_STRING_SIZE 20 // 字符串存储空间的大小
#define MAX_STACK_SIZE 20 // The size of the stack storage space
#define MAX_STRING_SIZE 20 // The size of the string storage space
typedef char ElemType;
typedef struct BiTNode{
ElemType data; // 二叉树节点的数据
struct BiTNode* lchild; // 左孩子指针
struct BiTNode* rchild; // 右孩子指针
ElemType data; // Binary tree node data
struct BiTNode* lchild; // Left child pointer
struct BiTNode* rchild; // Right child pointer
}BiTNode, *BiTree;
//
// 在此处声明函数
// Declare the function here
//
int PreOrder(BiTree pTree);
......@@ -43,7 +43,7 @@ void DeleteTree(BiTree pTree);
//
// 在此处声明全局变量
// Declare global variables here
//
extern char g_string[MAX_STRING_SIZE];
extern int g_length;
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论