所属分类:
VC书籍
开发工具:C/C++
文件大小:1KB
下载次数:10
上传日期:2005-05-12 12:20:02
说明: 冒泡法是数据排序的一种基本算法,它的基本方法是:相邻两元素进行比较,如有需要则进行交换,每完成一次循环就将最小元素排在最后(如从大到小排序),下一次循环是将其他的数进行类似操作?如将N 个数按从大到小排序,Turbo C语言程序函数
(Bubble Act to sort the data is a basic algorithm, which is the basic method : two adjacent elements, if required for the exchange, each completed a minimum cycle will be the last element (for example, on average ranking), the next cycle is the number of other similar operations such as N on average number sequencing by, Turbo C Programming Language Functions)