資源簡介
自定義圖標,界面美觀。動態生成自定義大小的數組,并以隨機數初始化數組。
按“手動”菜單演示數組數據排序的移動過程,按“暫停”菜單結束排序演示過程。
在客戶區正確顯示當前數組數據的移動過程。點擊“手動演示”菜單一步一步查看過程。點擊“自動”實現自動演示(每次移動間隔1s)。 在自動演示過程中可以按“暫停”進行暫停演示按菜單選擇不同排序方法建立不同的文檔視圖演示排序過程,可以實現同時打開對比。實現冒泡,插入,選擇排序方式。
代碼片段和文件信息
//?BubbleSortChildframe.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“Sort.h“
#include?“BubbleSortChildframe.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CBubbleSortChildframe
IMPLEMENT_DYNCREATE(CBubbleSortChildframe?CMDIChildWnd)
CBubbleSortChildframe::CBubbleSortChildframe()
{
}
CBubbleSortChildframe::~CBubbleSortChildframe()
{
}
BEGIN_MESSAGE_MAP(CBubbleSortChildframe?CMDIChildWnd)
//{{AFX_MSG_MAP(CBubbleSortChildframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
///////////////////////////////////////////////////////////////////////////
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-01-31?08:16??MFC?多文檔排序\
?????文件????????1101??2017-12-22?15:53??MFC?多文檔排序\BubbleSortChildfr
?????文件????????1435??2017-12-22?15:53??MFC?多文檔排序\BubbleSortChildfr
?????文件????????3100??2017-12-22?17:52??MFC?多文檔排序\BubbleSortView.cpp
?????文件????????1595??2017-12-22?17:29??MFC?多文檔排序\BubbleSortView.h
?????文件????????1744??2017-12-22?15:42??MFC?多文檔排序\ChildFrm.cpp
?????文件????????1397??2017-12-22?11:10??MFC?多文檔排序\ChildFrm.h
?????文件????????1101??2017-12-22?15:52??MFC?多文檔排序\InsertSortChildfr
?????文件????????1435??2017-12-22?15:52??MFC?多文檔排序\InsertSortChildfr
?????文件????????2989??2017-12-22?18:48??MFC?多文檔排序\InsertSortView.cpp
?????文件????????1560??2017-12-22?15:16??MFC?多文檔排序\InsertSortView.h
?????文件????????3887??2017-12-22?17:43??MFC?多文檔排序\MainFrm.cpp
?????文件????????1731??2017-12-22?15:01??MFC?多文檔排序\MainFrm.h
?????文件????????1028??2017-12-22?15:53??MFC?多文檔排序\QuickSortChildfr
?????文件????????1425??2017-12-22?15:39??MFC?多文檔排序\QuickSortChildfr
?????文件????????3217??2017-12-22?17:57??MFC?多文檔排序\Quicksort.cpp
?????文件????????1613??2017-12-22?15:35??MFC?多文檔排序\Quicksort.h
?????文件????????4712??2017-12-22?11:10??MFC?多文檔排序\ReadMe.txt
?????文件???????50652??2017-12-22?18:24??MFC?多文檔排序\Sort.aps
?????文件????????3491??2017-12-22?18:48??MFC?多文檔排序\Sort.clw
?????文件????????4671??2017-12-22?17:42??MFC?多文檔排序\Sort.cpp
?????文件????????5574??2017-12-22?14:41??MFC?多文檔排序\Sort.dsp
?????文件?????????531??2017-12-22?11:10??MFC?多文檔排序\Sort.dsw
?????文件????????1502??2017-12-22?11:14??MFC?多文檔排序\Sort.h
?????文件??????369664??2017-12-22?18:49??MFC?多文檔排序\Sort.ncb
?????文件???????54784??2017-12-22?18:49??MFC?多文檔排序\Sort.opt
?????文件????????3379??2017-12-22?18:48??MFC?多文檔排序\Sort.plg
?????文件???????11683??2017-12-22?16:22??MFC?多文檔排序\Sort.rc
?????文件????????1707??2017-12-22?12:19??MFC?多文檔排序\SortDoc.cpp
?????文件????????1451??2017-12-22?12:09??MFC?多文檔排序\SortDoc.h
?????文件????????2533??2017-12-22?16:03??MFC?多文檔排序\SortView.cpp
............此處省略10個文件信息
評論
共有 條評論