?? c10-3.h
字號:
/* c10-3.h 基數(shù)排序的數(shù)據(jù)類型 */
#define MAX_NUM_OF_KEY 8 /* 關(guān)鍵字項數(shù)的最大值 */
#define RADIX 10 /* 關(guān)鍵字基數(shù),此時是十進制整數(shù)的基數(shù) */
#define MAX_SPACE 1000
typedef struct
{
KeysType keys[MAX_NUM_OF_KEY]; /* 關(guān)鍵字 */
InfoType otheritems; /* 其它數(shù)據(jù)項 */
int next;
}SLCell; /* 靜態(tài)鏈表的結(jié)點類型 */
typedef struct
{
SLCell r[MAX_SPACE]; /* 靜態(tài)鏈表的可利用空間,r[0]為頭結(jié)點 */
int keynum; /* 記錄的當前關(guān)鍵字個數(shù) */
int recnum; /* 靜態(tài)鏈表的當前長度 */
}SLList; /* 靜態(tài)鏈表類型 */
typedef int ArrType[RADIX]; /* 指針數(shù)組類型 */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -