DOC-文学助手研究数据结构测试五.docVIP

  • 0
  • 0
  • 约1.1万字
  • 约 26页
  • 2022-03-29 发布于浙江
  • 举报
DOC-文学助手研究 数据结构 测试五 文学助手研究 数据结构 测试五 #include stdio.h #include string.h #include stdlib.h #include conio.h #include math.h #define MAXSIZE 1000 #define MAXLEN 20 #define MAXNUM 16 #define FALSE 0 #define TRUE 1 /*---------------堆结构的定义---------------*/ typedef struct{ char stores[MAXSIZE]; int freep; //当前可用空间开始位置 }HeapSpace; HeapSpace sp; /*-------------单词数据类型定义-------------*/ /*-----------单词在堆中的位置描述-----------*/ typedef struct{ int stadr; //单词在对空间中的开始位置 int len; //单词长度 }WordType; /*----------------单词描述-------------------*/ typedef struct{ char ch[MAXLEN]; //单词字符串 int s

文档评论(0)

1亿VIP精品文档

相关文档