資源簡介
MFC MFC MFC MFC
VC VC VC VC

代碼片段和文件信息
//?maze.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“maze.h“
#include?“mazeDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMazeApp
BEGIN_MESSAGE_MAP(CMazeApp?CWinApp)
//{{AFX_MSG_MAP(CMazeApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CMazeApp?construction
CMazeApp::CMazeApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMazeApp?object
CMazeApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMazeApp?initialization
BOOL?CMazeApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CMazeDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????679828??2011-12-22?21:17??maze\maze.aps
?????文件???????1496??2011-12-23?16:37??maze\maze.clw
?????文件???????2035??2011-12-20?10:34??maze\maze.cpp
?????文件???????4585??2011-12-20?18:56??maze\maze.dsp
?????文件????????514??2011-12-20?10:34??maze\maze.dsw
?????文件???????1324??2011-12-20?10:55??maze\maze.h
?????文件??????82944??2011-12-23?16:37??maze\maze.ncb
?????文件??????56832??2011-12-23?16:37??maze\maze.opt
?????文件???????1835??2011-12-23?16:37??maze\maze.plg
?????文件???????5553??2011-12-22?21:17??maze\maze.rc
?????文件????????748??2011-12-20?13:00??maze\MazeBtn.cpp
?????文件???????1154??2011-12-20?12:51??maze\MazeBtn.h
?????文件??????10630??2011-12-23?16:36??maze\mazeDlg.cpp
?????文件???????3155??2011-12-23?16:36??maze\mazeDlg.h
?????文件???????3543??2011-12-20?10:34??maze\ReadMe.txt
?????文件?????667648??2011-12-23?16:37??maze\Release\maze.exe
?????文件???????9545??2011-12-23?16:37??maze\Release\maze.obj
?????文件????5694932??2011-12-23?16:37??maze\Release\maze.pch
?????文件?????646304??2011-12-23?16:37??maze\Release\maze.res
?????文件???????7862??2011-12-23?16:37??maze\Release\MazeBtn.obj
?????文件??????22260??2011-12-23?16:37??maze\Release\mazeDlg.obj
?????文件??????70696??2011-12-23?12:09??maze\Release\printScreen.png
?????文件???????9397??2011-12-23?16:37??maze\Release\SizeDlg.obj
?????文件????????786??2011-12-23?16:37??maze\Release\StdAfx.obj
?????文件??????50176??2011-12-23?16:37??maze\Release\vc60.idb
?????文件?????642462??2011-12-20?17:32??maze\res\2.bmp
?????文件???????1270??2011-12-20?18:56??maze\res\bitmap1.bmp
?????文件???????1078??2011-12-20?10:34??maze\res\maze.ico
?????文件????????396??2011-12-20?10:34??maze\res\maze.rc2
?????文件????????863??2011-12-22?21:17??maze\resource.h
............此處省略10個文件信息
- 上一篇:opencv圖像處理MFC
- 下一篇:利用c語言實現FFT運算
評論
共有 條評論