文件名称:Second04
介绍说明--下载内容均来自于网络,请自行研究使用
实验题目:产生随机数并进行排序。
实验要求:
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.
实验要求:
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
........\BothwayBubbleSort.txt
........\BubbleSort.txt
........\HeapSort.txt
........\main.cpp
........\MergeSort.txt
........\obj\Debug\main.o
........\...\.....\Sorting.o
........\QuickSort.txt
........\random.txt
........\Second04.cbp
........\Second04.depend
........\Second04.layout
........\SelectionSort.txt
........\ShellSort.txt
........\Sorting.cpp
........\Sorting.h
........\bin\Debug
........\obj\Debug
........\bin
........\obj
Second04