搜索资源列表
mysort
- 几种排序算法:冒泡、直接插入、选择、She-several Sorting Algorithm : Bubble, direct insert, select, She
xscjglxt
- 数据库的数据项主要数据包括:学号、姓名、年级、专业、成绩a、成绩b、成绩c、平均成绩、总成绩。要求具有以下功能: (1)系统以菜单方式工作。 (2)显示、保存记录;添加、删除、修改任意多个记录。 (3)排序功能:打开学生数据库,计算每个学生的平均成绩和总成绩,用冒泡法或选择排序法将平均成绩和总成绩排序后,生成两个新文件(从大到小),存盘并显示这两个文件的全部记录。 (4)查询功能:打开总成绩排序文件,用折半查找法统计出给定分数的人数并显示。并能按学号或姓名查找并
sort
- 本实验采用的rand函数产生随机的100个数,通过的建立列表,并调用rand函数产生随机的100个列表元素。但是没选择一种排序就会重新随机产生100数。然后就是对常见的几种数据结构的排序的主函数的的编写,根据已有的函数的代码,很快就能写出常见的折半排序,直接排序,冒泡排序,简单的选择排序,堆排序,希尔排序的主函数,最后编写一个菜单来选择通过调用各种排序的函数来实现相应的功能。-The rand function produces random 100 number used in this ex
dianhua-guanli
- 实现 电话簿的管理与存储,排序,采用冒泡排序,实现电话号码的快速查询-Achieve phonebook management and storage, sorting, using bubble sort, to achieve fast query phone numbers
Bubble-sorting-function
- Bubble sorting function CODE Bubble sort is a simple sorting algorithm. The algorithm starts at the beginning of the data set. It compares the first two elements, and if the first is greater than the second, it swaps them. It continues doing thi
