文件名称:visualc1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:772byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
函数fun的功能是将存放学生数据的结构体数组按照姓名的字典序(从小到大)排序,在fun函数内采用的选择排序法,选择排序法中的升序排序,首先从数组中挑选一个元素,把它和第一元素交换,接着从剩下的n-1个元素中再挑出一个最小的元素,把它和第二个元素交换,不断重复以上过程,直到比较完最后两个元素。
-Function fun function is to store the data structure an array of students by name, the dictionary order (from small to large) order, within the function in the fun using the Selection Sort, Selection Sort in ascending order, first select from an array elements, the first element of it and exchange, and then from the remaining n-1 elements in another single out one of the least element of it and the second element of exchange, constantly repeat the process until more complete the last two elements .
-Function fun function is to store the data structure an array of students by name, the dictionary order (from small to large) order, within the function in the fun using the Selection Sort, Selection Sort in ascending order, first select from an array elements, the first element of it and exchange, and then from the remaining n-1 elements in another single out one of the least element of it and the second element of exchange, constantly repeat the process until more complete the last two elements .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
visualc1.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.