对线性表(顺序表)的一些操作
#include <stdio.h>
#include <stdlib.h>
#define MAXSIZE 100
typedef int Elemtype;
//initialize list
typedef struct{Elemtype date[MAXSZE];Elemtype length;
} SeqList;//动态化初始顺序表
SeqList* initList(){SeqList* L(SeqList*)malloc(sizeof(SeqList…
2026/12/4 9:25:40 阅读全文 →