正在加载图片...
待排记录的数据类型定义如下 # define maxsize1000∥待排顺序表最大长度 typedef int KeyType;∥关键字类型为整数类型 typedef struct i Key Type key; ∥关键字项 InfoType otherinfo;∥其它数据项 3 RetYpe, ∥记录类型 typedef struct t RcdType rMAXSIZE+1;∥r10闲置 int lengthe ∥顺序表长度 3 Sqlist ∥顺序表类型 使京航空航天大学数握结课题组败伙有待排记录的数据类型定义如下: #define MAXSIZE 1000 // 待排顺序表最大长度 typedef int KeyType; // 关键字类型为整数类型 typedef struct { KeyType key; // 关键字项 InfoType otherinfo; // 其它数据项 } RcdType; // 记录类型 typedef struct { RcdType r[MAXSIZE+1]; // r[0]闲置 int length; // 顺序表长度 } SqList; // 顺序表类型
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有