我把你说的错误改了但是还是有错误,/*顺序表*/#include typedef int datatype;#define maxsize 1024typedef struct node { datatype data[maxsize];datatype last;}sequenist;int INSERT(sequenist *l,int i,int x);int DELETE(sequenist *P,int i);
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/27 02:08:27
我把你说的错误改了但是还是有错误,/*顺序表*/#include typedef int datatype;#define maxsize 1024typedef struct node { datatype data[maxsize];datatype last;}sequenist;int INSERT(sequenist *l,int i,int x);int DELETE(sequenist *P,int i);
我把你说的错误改了但是还是有错误,
/*顺序表*/
#include
typedef int datatype;
#define maxsize 1024
typedef struct node
{ datatype data[maxsize];
datatype last;
}sequenist;
int INSERT(sequenist *l,int i,int x);
int DELETE(sequenist *P,int i);
void main()
{ sequenist *l;
int i,j,x,h;
for(i=0;i
我把你说的错误改了但是还是有错误,/*顺序表*/#include typedef int datatype;#define maxsize 1024typedef struct node { datatype data[maxsize];datatype last;}sequenist;int INSERT(sequenist *l,int i,int x);int DELETE(sequenist *P,int i);
我给你看看啊
int INSERT(sequenist ,int,int );
int DELETE(sequenist ,int);声明改成这
int DELETE(sequenist *p,int i)
{ int j;
if(i(*p).last+1)
\x05 printf("error");
else if (j=i;j