信息void sort1()/*排序数据函数:按学号排序*/ { struct student temp; int i,j; \x05average();for(i=1;i这个线性表上的排序,

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/13 09:18:28

信息void sort1()/*排序数据函数:按学号排序*/ { struct student temp; int i,j; \x05average();for(i=1;i这个线性表上的排序,
信息
void sort1()/*排序数据函数:按学号排序*/
{
struct student temp;
int i,j;
\x05average();
for(i=1;i
这个线性表上的排序,

信息void sort1()/*排序数据函数:按学号排序*/ { struct student temp; int i,j; \x05average();for(i=1;i这个线性表上的排序,
你对一个结构(struct)数组排序,不能只用一个本地temp,要用指针