- 博客(2)
- 收藏
- 关注
原创 数据结构 c 顺序表的合并和排序
#include <stdio.h> #include <stdlib.h> #define LIST_INIT_SIZE 100 //线性表存储空间的初始分配量 #define LISTINCREMENT 10 //线性表存储空间的分配增量 typedef int ElemType; //自定义顺序表的数据元素为字符型 //顺序表的存储结构定义 typedef struct { ElemType *elem; //存储空间基址 int length; //当前
2021-10-31 16:39:31
239
原创 数据结构 c语言顺序表的插入删除
c语言顺序表的插入删除代码: #include <stdio.h> #include <stdlib.h> #define bool int #define true 1 #define FALSE 0 #define LIST_INIT_SIZE 10 //线性表存储空间的初始分配量 #define LISTINCREMENT 10 //线性表存储空间的分配增量 typedef char ElemType; //自定义顺序表的数据元素为字符型 typedef bool St
2021-10-30 21:26:08
422
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人