摘要:
下面是用c语言实现的单链表的一些基本操作: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 typedef struct LNode 5 { 6 int elem; 7 struct LNode *next; 8 }LNode, *LinkList; 9 阅读全文
posted @ 2021-12-05 15:41
快乐的余开心
阅读(53)
评论(0)
推荐(0)
摘要:
下面是用c代码对顺序表的操作: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #define MAXSIZE 25 //顺序表最大长度 5 6 /*定义顺序表*/ 7 typedef struct 8 { 9 int data[MAXSIZE]; 10 阅读全文
posted @ 2021-12-05 09:50
快乐的余开心
阅读(224)
评论(0)
推荐(0)

浙公网安备 33010602011771号