摘要:
#include <iostream.h>#include <stdlib.h>#define LIST_INIT_SIZE 100#define OK 1#define OVERFLOW -2#define ERROR 0typedef int Status;typedef int ElemType;typedef struct LNode{ ElemType data; struct LNode *next;} LNode,*LinkList;Status InitList_L(LinkList &L){ L=new LNode; if(!L) exit(O 阅读全文