遍历树.docVIP

  • 5
  • 0
  • 约7.98千字
  • 约 13页
  • 2017-03-22 发布于江苏
  • 举报
遍历树

遍历树 #define CHAR // 字符型 // #define INT // 整型(二者选一) #includestdio.h #includestring.h #includectype.h #includemalloc.h #includestdlib.h #includemath.h #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE -1 typedef int Status; typedef int Boolean; typedef int ElemType; #ifdef CHAR typedef char TElemType; TElemType Nil= ; // 字符型以空格符为空 #define form %c // 输入输出的格式为%c #endif //#ifdef INT // typedef int TElemType; // TElemType Nil=0; // 整型以0为空 // #define form %d // 输入输出的格式为%d //#endif typedef struct BiTNode { TElemType data; BiTNo

文档评论(0)

1亿VIP精品文档

相关文档