摘要:
#include#include#define LIST_INIT_SIZE 100//链表的最大长度#define LISTINREMENT 12//链表现有的长度typedef struct sqlist { int *A; int length;//链表当前长度 int listsize;//链表最大长度};//初始化链表int InitList(sqlist &L){ L.length = 0; //长度初始化为0 L.listsize= LIST_INIT_SIZE; L.A=(int*)malloc(LIST_INIT_SIZE*sizeof(int));//给链表分配最大 阅读全文
![](/skins/gray/images/separator.gif)