摘要:
1 #include 2 #include 3 4 #define OK 1 5 #define ERROR 0 6 #define TRUE 1 7 #define FALSE 0 8 #define MAXLEN 100 9 10 typedef int elemType; 11 typedef struct { 12 elemType *data; 13 int len; 14 }LIST; 15 16 //初始化线性表 17 int initList(LIST *L) 18 { 19 L->da... 阅读全文