正在加载图片...
排录的数类型定频序表最大长度 typedef int KeyType;∥/关键字类型为整数类型 typedef struct i KeyType key ∥关键字项 InfoType otherinfo;∥其它数据项 3 RcdType, ∥记录类型 typedef struct t RcdType rMAXSIZE+1;/r10闲置 int length; ∥顺序表长度 i 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 高等教育资讯网 版权所有