91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

漢諾塔遞歸實現,可視化,用VC6.0,在XP和Win7下編譯通過

資源截圖

代碼片段和文件信息

//?HanoiDemo.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“HanoiDemo.h“
#include?“HanoiDemoDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CHanoiDemoApp

BEGIN_MESSAGE_MAP(CHanoiDemoApp?CWinApp)
//{{AFX_MSG_MAP(CHanoiDemoApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CHanoiDemoApp?construction

CHanoiDemoApp::CHanoiDemoApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CHanoiDemoApp?object

CHanoiDemoApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CHanoiDemoApp?initialization

BOOL?CHanoiDemoApp::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

CHanoiDemoDlg?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;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1214??2010-03-12?15:54??HanoiDemo\HanoiDemo.clw

?????文件???????2105??2010-03-10?17:26??HanoiDemo\HanoiDemo.cpp

?????文件???????4213??2010-03-10?17:26??HanoiDemo\HanoiDemo.dsp

?????文件????????541??2010-03-10?18:40??HanoiDemo\HanoiDemo.dsw

?????文件???????1357??2010-03-10?17:26??HanoiDemo\HanoiDemo.h

?????文件????????689??2010-03-12?15:54??HanoiDemo\HanoiDemo.plg

?????文件???????6006??2010-03-12?15:54??HanoiDemo\HanoiDemo.rc

?????文件??????10251??2010-03-12?15:54??HanoiDemo\HanoiDemoDlg.cpp

?????文件???????1641??2010-03-12?15:36??HanoiDemo\HanoiDemoDlg.h

?????文件???????3633??2010-03-10?17:26??HanoiDemo\ReadMe.txt

?????文件???????1078??2010-03-10?17:26??HanoiDemo\res\HanoiDemo.ico

?????文件????????401??2010-03-10?17:26??HanoiDemo\res\HanoiDemo.rc2

?????文件????????779??2010-03-10?18:06??HanoiDemo\Resource.h

?????文件????????211??2010-03-10?17:26??HanoiDemo\StdAfx.cpp

?????文件???????1054??2010-03-10?17:26??HanoiDemo\StdAfx.h

?????目錄??????????0??2010-03-10?17:26??HanoiDemo\res

?????目錄??????????0??2010-03-12?15:55??HanoiDemo

-----------?---------??----------?-----??----

????????????????35173????????????????????17


評論

共有 條評論