This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
// 10函数功能:按选择法将数组num的元素值按从低到高排序
void AsSortbyNum(STU stu[], int n, int m)
{
int i, j, k, t;
for (i=0; i<n-1; i++)
K=i;
for(j=i+1;j<10;j++)
if((*compare)(stu[k]num.stu[j].num)) k=j;}
if(k!=i)
{t=stu[i].num;stu[i].num=stu[k].num;stu[k].num=t;}
}