1.1数据结构-线性表C版

ifndef MAN_H

define MAN_H

define LIST_INIT_SIZE 100

define LISTINCREMENT 10

typedef int ElemType;

typedef struct{
ElemType *elem;
int length;
int listsize;
} SqList;

//创建顺序表
void InitList(SqList*);

//插入元素
int InsertList(SqList*, int, ElemType);

//删除元素
int DeleteList(SqList*, int, ElemType);

//查找元素
int LocateList(SqList*, ElemType);

endif

猜你喜欢

转载自www.cnblogs.com/machine-lyc/p/9467478.html