随笔

顺序结构数据类型的定义

define LIST_SIZE 20

typedef struct{
KeyType key;
OtherType other_data;
}RecordType;
typedef struct{
RecordType r[LIST_SIZE+1];/r[0]为工作单元/
int length;
}RecordList;

posted @ 2020-05-28 20:31  eddd  阅读(151)  评论(0)    收藏  举报