⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sqlist.h

📁 线性表的顺序存储实现
💻 H
字号:
//Writen by XiongHaiquan
#define LISTINITSIZE 100
#define LISTINCREAMENT 10
typedef  int ElemType;
typedef struct{
	ElemType *elem;
	int length;
	int listsize;
}SqList;

void InitSqList(SqList &l);
void DestroySqList(SqList &l);
int IsSqListEmpty(SqList &l);
int IsSqListFull(SqList &l);
int SqListLength(SqList &l);
ElemType GetSqListElement(SqList &l,int i);
int SqListLocation(SqList &l,ElemType x);
int SqListPrior(SqList &l,ElemType x);
int SqListNext(SqList &l,ElemType x);
void InsertSqList(SqList &l,int i,ElemType x);
void DeleteSqList(SqList &l,int i);
void SortSqList(SqList &l);
void PrintSqList(SqList &l);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -