文件名称:studentScoreSort
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.32kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在函数中进行 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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.