#include<stdio.h>
#include <stdlib.h>
#define MAXSIZE 51
typedef int ElemType;
typedef int Status;
typedef struct
{
ElemType elem[MAXSIZE];
int length;
}SeqList;
//初始化空表;
int Init(SeqList &L){
L.length = 0;
}
//插入
Status add(SeqList &L,int i,ElemType e)//插入位置和元素的值;
{
if(i<1||i>L.length+1)
{
return -1;
}
ElemType* where=&
用c语言创建并实现一个批量删除的顺序表
最新推荐文章于 2022-10-05 15:41:11 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)