可能是这样:
#define N 80 //定义学生数量 class SortASC{ public: int mXuehao[N]; char name[N][20]; int score[N]; void Sort(int sc[]); //可以通过学号排序,也可以通过成绩排序 };