MFC实现7种排序算法、比较时间复杂度

上传者: peach_blossom | 上传时间: 2019-12-21 20:26:11 | 文件大小: 5.28MB | 文件类型: rar
这是用MFC写的,开发环境是VC++。 主要实现7种排序算法(直接插入排序、堆排序、基数排序、冒泡排序、归并排序、希尔排序、快速排序),能计算每种排序算法的运行时间,进行多次排序后,可以对各种排序算法时间复杂度进行直线拟合,并以图线的形式表示,其中,画图部分是调用外部CCHART库来完成的。以上是本程序的主要功能,还有一些细节的东西请打开工程自行探索。 程序亲测无误。

文件下载

资源详情

[{"title":"( 53 个子文件 5.28MB ) MFC实现7种排序算法、比较时间复杂度","children":[{"title":"7种排序算法、时间对比及时间复杂度直线拟合","children":[{"title":"readme.txt <span style='color:#111;'> 356B </span>","children":null,"spread":false},{"title":"排序算法工程","children":[{"title":"BubbleSort.txt <span style='color:#111;'> 279B </span>","children":null,"spread":false},{"title":"sort2.clw <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"sort2.plg <span style='color:#111;'> 745B </span>","children":null,"spread":false},{"title":"Chart.h <span style='color:#111;'> 44.56KB </span>","children":null,"spread":false},{"title":"PlotDll.dll <span style='color:#111;'> 2.30MB </span>","children":null,"spread":false},{"title":"sort2.rc <span style='color:#111;'> 8.38KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"sort2.rc2 <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":"sort2.ico <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"t013a81420026c25116.ico <span style='color:#111;'> 10.89KB </span>","children":null,"spread":false},{"title":"西瓜.ico <span style='color:#111;'> 45.06KB </span>","children":null,"spread":false},{"title":"bitmap1.bmp <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"萌.ico <span style='color:#111;'> 55.84KB </span>","children":null,"spread":false}],"spread":true},{"title":"sort2.ncb <span style='color:#111;'> 209.00KB </span>","children":null,"spread":false},{"title":"InsertSort.txt <span style='color:#111;'> 250B </span>","children":null,"spread":false},{"title":"sort2.dsw <span style='color:#111;'> 518B </span>","children":null,"spread":false},{"title":"PlotDll_d.dll <span style='color:#111;'> 4.60MB </span>","children":null,"spread":false},{"title":"sort2.h <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"ShellSort.txt <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"pic.cpp <span style='color:#111;'> 4.12KB </span>","children":null,"spread":false},{"title":"sort2.opt <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"sort2.aps <span style='color:#111;'> 97.04KB </span>","children":null,"spread":false},{"title":"RadixSort.txt <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"pic.h <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"sort2Dlg.cpp <span style='color:#111;'> 17.36KB </span>","children":null,"spread":false},{"title":"sort2Dlg.h <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"PlotDll.lib <span style='color:#111;'> 258.67KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"sort2.dsp <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"sort2.cpp <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"mergesort.txt <span style='color:#111;'> 805B </span>","children":null,"spread":false},{"title":"QuickSort.txt <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"StdAfx.obj <span style='color:#111;'> 103.04KB </span>","children":null,"spread":false},{"title":"sort2Dlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"sort2.bsc <span style='color:#111;'> 4.95MB </span>","children":null,"spread":false},{"title":"sort2.exe <span style='color:#111;'> 196.06KB </span>","children":null,"spread":false},{"title":"sort2.pch <span style='color:#111;'> 6.56MB </span>","children":null,"spread":false},{"title":"sort2.ilk <span style='color:#111;'> 268.38KB </span>","children":null,"spread":false},{"title":"pic.obj <span style='color:#111;'> 20.36KB </span>","children":null,"spread":false},{"title":"pic.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 209.00KB </span>","children":null,"spread":false},{"title":"sort2Dlg.obj <span style='color:#111;'> 72.03KB </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"sort2.pdb <span style='color:#111;'> 409.00KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 372.00KB </span>","children":null,"spread":false},{"title":"sort2.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"sort2.obj <span style='color:#111;'> 15.40KB </span>","children":null,"spread":false},{"title":"sort2.res <span style='color:#111;'> 62.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"HeapSort.txt <span style='color:#111;'> 557B </span>","children":null,"spread":false},{"title":"PlotDll_d.lib <span style='color:#111;'> 260.30KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • acoolgiser :
    能打开运行,但是绘图没效果,是CCHART没安装吧,怎么安装呀
    2019-03-05
  • mee4567890 :
    不错学习一下
    2019-01-07
  • weixin_42192630 :
    挺不错的,可以学习一下,谢谢啦
    2018-05-23
  • TL--140 :
    可以用,还不错
    2018-01-11

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明