摘要: #include //线性表的基本操作#include #include #define LIST_INIT_SIZE 100 //线性表存储空间的初始分配量 #define LISTINCREMENT 10 //线性表存储空间的分配增量 typedef struct{ int ... 阅读全文
posted @ 2015-10-24 16:32 xiang-xiang 阅读(230) 评论(0) 推荐(0)
摘要: #include#include #include typedef struct LNode{ int data; struct LNode *next; }LNode,*Linklist; int InitList(Linklist&L){ L = new LNode; ... 阅读全文
posted @ 2015-10-24 16:31 xiang-xiang 阅读(256) 评论(0) 推荐(0)