//顺序表的销毁
#include <stdio.h>
#include <stdlib.h>
#define OK 1
#define OVERFLOW -2
#define LIST_INIT_SIZE 10// 线性表存储空间的初始分配量
typedef int Status; //Status是函数数据类型 ,其值是函数结果状态,如OK
typedef int ElemType;//ElemType是线性表中数据元素类型
typedef struct{
ElemType *elem;
int length;
int listsize;
}Sqlist;
Status InitList(Sqlist &L)
{
数据结构—顺序表的销毁
最新推荐文章于 2024-10-10 17:29:55 发布