求大佬写一个按学号快速排序和按成绩插入排序的函数,写了好长时间了,各种问题,非常感谢
#include
#include
#include
#define MAXSIZE 100
typedef struct Student{
char no[20];// 学号
char name[20];// 姓名
int price;// 成绩
}Student;
int sum=0;
typedef struct{
Student elem[MAXSIZE]; //线性表占用的数组空间
int last;//最后一个元素的下标
}SeqList;
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答