
C
_茂茂
就读于百年老校,哈哈哈
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
线性表的链式表示和实现
线性表的链式存储结构,不要求逻辑上相邻的元素在物理上也相邻,因此它没有顺序存储结构所具有的弱点,但同时也失去了顺序表可随机存储的优点; #include "stdio.h" #include "malloc.h" #define OK 1 #define ERROR 0 typedef struct LNode{ int data; struct LNode *ne...原创 2018-03-20 14:37:59 · 325 阅读 · 0 评论 -
线性表的顺序表示和实现
线性表的顺序表示是指用一组地址连续的存储单元依次存储线性表的数据元素 #include "stdio.h" #include <malloc.h> #define LIST_INIT_SIZE 100 #define LISTINCREMENT 10 #define OK 1 #define ERROR 0 typedef struct { int *elem...原创 2018-03-20 15:01:03 · 269 阅读 · 0 评论