-
快速排序与交换排序算法比较
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (1...
快速排序与交换排序算法比较
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (10000个测试元素),并输出到文件中。
分别执行快速排序算法和交换排序算法对测试数据排序,并输出到不同的文件中。
使用较为精确的QueryPerformanceCounter和QueryPerformanceFrequency等函数记录算法耗时,精确到毫秒,以便更好地进行算法耗时比较。
分析两种不同算法,有针对性地设计与调整测试数据,进而通过比较算法耗时来得到更充分且更深刻的认识。
编写模块校验两种不同排序算法的输出结果正确且相同
-Quicksort sorting algorithm comparison and exchange
In the Visual C++ to create a single document Windows application, and to achieve the following functions:
The use of random function automatically generates a certain amount of test data (10000 test elements), and output to a file.
Respectively, and the exchange of the implementation of quick sort algorithm sorting algorithm to sort of test data, and output to a different file.
Using a more accurate record of QueryPerformanceCounter and QueryPerformanceFrequency algorithms such as time-consuming functions, accurate to the millisecond, in order to better carry out time-consuming compared algorithms.
Analysis of two d
- 2022-04-22 17:20:42下载
- 积分:1
-
在专家的分辨率变换器
Monitor resolution changer in Delphi
- 2022-11-14 07:25:02下载
- 积分:1
-
一个网络搜索播放器,上传源码,界面还不错
一个网络搜索播放器,上传源码,界面还不错-A Web search players, upload source code, interface well
- 2022-02-01 21:41:18下载
- 积分:1
-
slr(1),设计文档,希望对有些人帮助
slr(1),设计文档,希望对有些人帮助-slr (1), design documents, hoping for some people to help
- 2023-02-08 06:30:04下载
- 积分:1
-
窗口虚拟串口源代码
Windows下虚拟串口的源代码-Windows Virtual Serial source code
- 2022-02-01 23:34:26下载
- 积分:1
-
NANDFlash for verilog module
闪存是一种电子非易失性计算机存储介质,可以通过电擦除和重新编程。
- 2023-05-16 13:00:03下载
- 积分:1
-
自动关机软件
有利于自己合理的安排时间
自动关机软件
有利于自己合理的安排时间-automatic shutdown software is conducive to a reasonable arrangement own time
- 2022-04-06 10:51:45下载
- 积分:1
-
VC过零率效果很好是本人编的,若有问题,请高人指点
VC过零率效果很好是本人编的,若有问题,请高人指点-VC zero rate is very effective Part I, if it, please thank the guidance of a person
- 2023-08-14 17:30:03下载
- 积分:1
-
CGI专家,开发CGI程序必备
CGI专家,开发CGI程序必备-CGI experts, the development of procedures required CGI
- 2022-01-26 03:08:25下载
- 积分:1
-
该代码为在窗口的标题栏中显示按钮的演示代码。
该代码为在窗口的标题栏中显示按钮的演示代码。-display buttons on title bar.
- 2022-02-02 17:49:40下载
- 积分:1