登录
首页 » C++ » Second04

Second04

于 2016-07-22 发布 文件大小:483KB
0 51
下载积分: 1 下载次数: 8

代码说明:

  实验题目:产生随机数并进行排序。 实验要求: 1.随机产生30000个数存放到“random.txt”中; 2.从文件中读取30000个随机数存入数组,在此数组中排序; 3.将排好序(升序)的数组中的数存入以排序方式命名的txt文件中,如堆排序:Heapsort.txt。(Experiment title: generate a random number and sorting. The experimental requirements: 1. The number of randomly generated 30000 deposit to the random. TXT 2. Read the file 30000 number to an array, the array sort 3. Will be sorted (ascending) deposit on the number of the array to sort method named TXT file, such as the heap sort: Heapsort. TXT.)

文件列表:

Second04
........\bin
........\...\Debug
........\...\.....\Second04.exe,982182,2013-03-24
........\BothwayBubbleSort.txt,170028,2013-03-24
........\BubbleSort.txt,170032,2013-03-24
........\HeapSort.txt,170028,2013-03-24
........\main.cpp,1434,2013-03-24
........\MergeSort.txt,67397,2013-03-24
........\obj
........\...\Debug
........\...\.....\main.o,32640,2013-03-24
........\...\.....\Sorting.o,51787,2013-03-24
........\QuickSort.txt,170032,2013-03-24
........\random.txt,169771,2013-03-24
........\Second04.cbp,1125,2013-03-24
........\Second04.depend,288,2013-03-24
........\Second04.layout,445,2013-03-24
........\SelectionSort.txt,170032,2013-03-24
........\ShellSort.txt,170032,2013-03-24
........\Sorting.cpp,9319,2013-03-24
........\Sorting.h,780,2013-03-24

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104271会员总数
  • 57今日下载