摘要:
#define MaxSize 10 struct Node{ int data; //存储数据元素 int next; //下个元素数组下标 }; void testSLinkList(){ struct Node a[MaxSize];//数组a作为静态链表 } 初始化静态链表:a[0]->ne 阅读全文
posted @ 2020-04-18 21:13
iiiiiki
阅读(175)
评论(0)
推荐(0)
摘要:
typedef struct LNode{ int data; struct LNode *next; }LNode,*LinkList; //初始化一个循环单链表 bool InitLidt(LinkList &L){ L=(LNode*)malloc(sizeof(LNode)); //分配一个 阅读全文
posted @ 2020-04-18 01:19
iiiiiki
阅读(120)
评论(0)
推荐(0)

浙公网安备 33010602011771号