本文实例讲述了C语言实现的顺序表功能。分享给大家供大家参考,具体如下: seqlist.h #ifndef __SEQLIST_H__ #define __SEQLIST_H__ #include<cstdio> #include<malloc> #include<assert> #define SEQLIST_INIT_SIZE 8 #define INC_SIZE 3 //空间增量的大小 typedef int ElemType; typedef struct Seqlist { ElemType *base; int capacity; //顺序表容量 int si
评论星级较低,若资源使用遇到问题可联系上传者,3个工作日内问题未解决可申请退款~