
数据结构
文章平均质量分 78
chen_yuantong
这个作者很懒,什么都没留下…
展开
-
线性表的顺序表示与实现
根据严蔚敏写的数据结构这本书,用C语言实现,在VC6.0编译通过。 #include #include #define LIST_INIT_SIZE 100#define LIST_INCREMENT 10typedef int ElemType;typedef struct { ElemType *elem; int length; int原创 2009-12-23 11:27:00 · 344 阅读 · 0 评论 -
顺序栈
#include #include #define STACK_INIT_SIZE 10#define STACK_INCREMENT 10typedef int SElemType;typedef struct{ SElemType *base; SElemType *top; int stacksize;}SqStack;int v原创 2009-12-26 11:08:00 · 229 阅读 · 0 评论