【文件属性】:
文件名称:顺序线性表的基本操作
文件大小:3KB
文件格式:CPP
更新时间:2015-04-04 15:55:34
顺序线性表的基本操作
顺序线性表的基本操作
include
#include
#include
#define LIST_INIT_SIZE 4 //线性表存储空间的初始分配量
#define LISTINCREMENT 1 //线性表存储空间的分配增量
typedef struct
{
int *elem; //存储空间基址
int length; //当前长度
int listsize; //当前分配的存储容量
}SqList;