登录
首页 » Windows开发 » 快速排序与交换排序算法比较 在Visual C++中建立一个单文档Windows应用程序,并实现下述功能: 运用随机函数自动生成一定规模的测试数据 (1...

快速排序与交换排序算法比较 在Visual C++中建立一个单文档Windows应用程序,并实现下述功能: 运用随机函数自动生成一定规模的测试数据 (1...

于 2022-04-22 发布 文件大小:3.46 MB
0 191
下载积分: 2 下载次数: 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

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

发表评论

0 个回复

  • This is basically to explain how to use an automation out of proc server. So I u...
    This is basically to explain how to use an automation out of proc server. So I used MSN Messenger. My article explains a few things about MSN Messenger. It has one ATL class CIMSGEvents which handles the events fired by MSN Messenger. It catches events fired by MSN Messenger and just outputs about it in an EditBox.
    2022-01-26 01:56:00下载
    积分:1
  • source code of DirectX:MoviePlay
    DirectX 源代码:MoviePlay-source code of DirectX:MoviePlay
    2022-03-11 11:12:24下载
    积分:1
  • This is a sample LonWorks plugin application written in Visual basic.
    This a sample LonWorks plugin application written in Visual basic.-This is a sample LonWorks plugin application written in Visual basic.
    2023-06-20 02:15:03下载
    积分:1
  • The progress bar, through the spherical distribution of display.This class displ...
    进度条,通过球状分布进行显示。这个类显示一个半透明,阴影模式进度对话框。这一进程的进展情况进行监督作为启动一个新线程,使球体更新进展顺利。如果启用,用户获得的能力,终止与ESC键的过程。该代码将运行在Windows 2000及更高版本。 -The progress bar, through the spherical distribution of display.This class displays a translucent, shadowed modal progress dialog. The process whose progress is to be monitored is started as a new thread, allowing the progress sphere to update smoothly. If enabled, the user is given the ability to terminate the process with the ESC key. The code runs on Windows 2000 and later.
    2022-08-02 20:16:07下载
    积分:1
  • simple computing functions with a simple EXCEL
    具有简单运算功能的简单EXCEL-simple computing functions with a simple EXCEL
    2023-06-27 17:55:02下载
    积分:1
  • Description: This sample is a process viewer for CE devices. Usage:...
    获取Mobile当前进程列表,List View的用法 Requirements: Visual Studio 2005, Windows Mobile 5.0 Pocket PC SDK or Windows Mobile 5.0 Smartphone SDK, ActiveSync 4.0. -Description: This sample is a process viewer for CE devices. Usage: Load the project from Visual Studio 2005, and build normally. Relevant APIs/Associated Help Topics: CreateToolhelp32Snapshot Assumptions: none. Requirements: Visual Studio 2005, Windows Mobile 5.0 Pocket PC SDK or Windows Mobile 5.0 Smartphone SDK, ActiveSync 4.0.
    2022-10-03 04:55:03下载
    积分:1
  • 解析Windows2000的IDT扩展机制
    解析Windows2000的IDT扩展机制-analytic Windows2000 IDT expansion mechanism
    2022-02-28 23:33:27下载
    积分:1
  • 对象、 图书馆、 礼萨、 冲动、 阿里、 peyman、 哈桑、 迈赫迪、 habil、 新浪短信通利用
    无线 ad hoc 网络通常假设全方位 天线。在本文中,我们考虑设备 方向性天线。方向性天线有 已显示,提高效率和无线的能力 网络。几个 MAC 协议 [4、 14、 12、 20] 和 路由协议 [5、 2、 17] 已提出以 方向性天线的优势。 下一步我们提供背景上路由安全 协议和以往关于防止虫洞的工作 攻击。节 3 认为虫洞攻击和 分析其效力。节 4 引入了 方向性天线和描述天线模型我们 使用。第 5 节描述我们协议的验证 邻居关系。节 6 认为的影响 我们的网络连接和路由选择协议
    2022-07-08 22:46:05下载
    积分:1
  • Foxmail 新版中有一个《邮件特快专递》的功能。起先搞不懂如何用,后来知道要在“工具...
    Foxmail 新版中有一个《邮件特快专递》的功能。起先搞不懂如何用,后来知道要在“工具->系统选项”那边设置“本地 DNS 服务器的IP地址”。   觉得这个新功能蛮好用的。不需要通过SMTP代理,可以直接通过本地往邮箱所在的邮件交换器发送邮件。在暑假一开始想在 VC++ 中实现这个功能。用 IRIS 截包后,发现程序中有 mx8.263.net 发送邮箱,不知道这个是什么东西,所以作罢。后来才想到这个就是 263.net 的MX记录主机,原来特快专递的原理就是往这个主机上发送数据就行。-Foxmail is a new version of "Speedpost mail" function. Initially do not understand how to use, we later learned to "tool-gt; System Options "side set up" local DNS server IP addresses. " Think of this new feature very good use. Going through SMTP agents, through direct mail to the local where the mail exchange mail. Beginning in the summer to a VC in achieving this function. With IRIS cut package and found out the mx8.263.net send mail, I do not know what this is, give up. Later 263.net think this is the MX records mainframe, the original Speedpost this principle is to send data on the mainframe on the trip.
    2022-03-20 15:14:35下载
    积分:1
  • 用visualprolog编写的专家系统
    用visualprolog编写的专家系统-Visualprolog prepared by expert system
    2022-05-07 09:14:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载