程序完善题目c语言,。!

\#include <string.h>

\#include <stdio.h>

\#include <math.h>

\#define MAXSIZE 10

 

```c

```c


typedef struct

{

//定义数据元素结构体

}student

 

typedef struct

{

//定义顺序表结构体

}SqList

 

 

int main()

{

//主程序,所有功能通过调用函数实现

//定义一个顺序表

//初始化顺序表数据

//输出所有数据

//删除一个元素(自己学号+1)同学

//输出所有数据

//插入一个元素(自己学号+1)同学

//输出所有数据

}

int InitList(SqList &L)

{

//分配存储空间

 

return 0;

}

 

int ListLength(SqList &L)

{

//顺序表中有效元素的长度

}

 

int InitValue(SqList &L)

{

//数据元素赋初值

}

 

int ListDelete(SqList L, int i, elemtype &e)

{

//删除L的第i个数据元素,并用e返回其值,L的长度减1。

 

}

 

int ListInsert(SqList &L, int i, elemtype e)

{

//在L中第i个位置之前插入新的数据元素e,L的长度加1。

 

}