
线性表
牧止
悉由我执生,留彼何所为!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数据结构顺序表实现
/*********顺序表***************/ #include #define OK 1 #define ERROR 0 #define MAXSIZE 50 //定义线性表最大长度 typedef int ElemType; typedef int Status; int a[]={12,14,45,75,84,52,49,5原创 2017-10-08 17:14:32 · 421 阅读 · 0 评论 -
数据结构_线性表_链表实现
#include #include #define OK 1 #define ERROR 0 typedef int Status; //Status是函数的类型,其值是函数结果状态OK等 typedef int ElemType; // ElemType类型根据实际情况而定这里设为int型 typedef struct LNode //定义原创 2017-10-15 15:12:08 · 255 阅读 · 0 评论