文件名称:studentScoreSort
介绍说明--下载内容均来自于网络,请自行研究使用
在函数中进行 10个学生成绩从高到低排名, 再改进函数, 进行 n个学生成绩从高到低排名, 排名方式根据函数的style参数进行,如style为‘a 按升序排,style为 d 按降序排( a:ascending 升,d:descending 降)。
编写多个不同函数,使之能实现不同的排序算法(3种以上),再编写一个通用输出函数,(要求用函数指针做参数)能分别打印不同排序算法的结果。
-The function of 10 students from high to low ranking, improved function, n students from high to low ranking, ranked according to function way style parameters such as "a style, style, by ascending to d" (in descending, d/a: ascending descending upon:).
Write different function, can achieve different sort algorithm (3 kinds of above), and then write a general output function, (with) function Pointers can do parameters were printed different sort algorithm.
编写多个不同函数,使之能实现不同的排序算法(3种以上),再编写一个通用输出函数,(要求用函数指针做参数)能分别打印不同排序算法的结果。
-The function of 10 students from high to low ranking, improved function, n students from high to low ranking, ranked according to function way style parameters such as "a style, style, by ascending to d" (in descending, d/a: ascending descending upon:).
Write different function, can achieve different sort algorithm (3 kinds of above), and then write a general output function, (with) function Pointers can do parameters were printed different sort algorithm.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
student_sort.c