-
快速排序与交换排序算法比较
在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
-
结构排序
关键字成员为字符的结构搜索123456
结构排序
关键字成员为字符的结构搜索123456-Keyword ranking members of the structural character of the structure of english 123456
- 2022-06-27 15:34:25下载
- 积分:1
-
Nine
九宫图,是一个将9个空格中8个不连续的数字排列成有序的小游戏。-Nine-palace map, is a nine spaces in the eight figures are not arranged in an orderly row of small game.
- 2022-01-25 19:44:39下载
- 积分:1
-
有关css2的教程,很详细,网页格式的。
有关css2的教程,很详细,网页格式的。-Related css2 tutorials, very detailed, page format.
- 2022-08-23 13:07:56下载
- 积分:1
-
一个美化程序界面的实例,可以自定义漂亮的界面
一个美化程序界面的实例,可以自定义漂亮的界面-A landscape example program interface, you can customize pretty interface
- 2022-03-22 14:38:43下载
- 积分:1
-
拖放文件,可将程序拖放到列表中,显示其绝对路径
拖放文件,可将程序拖放到列表中,显示其绝对路径-Drag and drop document can be drag and drop procedure to the list, indicating their absolute path
- 2023-07-23 10:40:03下载
- 积分:1
-
windows Socket编程
应用背景WINDOWS SOCKET编程,简单实用。TCP/IP网络编程不可少的。关键技术SOCKET编程分客户端和服务器端,易学易用。
- 2022-04-16 17:12:57下载
- 积分:1
-
实现注册表项的导入与导出
实现注册表项的导入与导出-achieve registry import and export
- 2022-10-26 12:55:03下载
- 积分:1
-
参考源码,学习例子
参考源码,学习例子-reference source, study examples
- 2022-02-14 00:55:08下载
- 积分:1
-
偏置式曲柄滑块机构 动画演示
偏置式曲柄滑块机构 动画演示-bias crank slider animation demo
- 2022-04-17 00:50:39下载
- 积分:1