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

  • 大小: 2.25MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-12
  • 語言: C/C++
  • 標簽: MFC二叉樹??

資源簡介

用MFC實現輸入二叉樹并實現三種遍歷的可視化,內附有源代碼的個個文件,使用者可自行調試

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“DS.h“
#include?“DSDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CDSApp

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

/////////////////////////////////////////////////////////////////////////////
//?CDSApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDSApp?object

CDSApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CDSApp?initialization

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

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

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-11-23?19:44??Debug\
?????文件??????114748??2015-11-23?19:44??Debug\DS.exe
?????文件??????315968??2015-11-23?19:44??Debug\DS.ilk
?????文件???????13578??2015-11-22?16:44??Debug\DS.obj
?????文件?????5506940??2015-11-21?12:52??Debug\DS.pch
?????文件??????394240??2015-11-23?19:44??Debug\DS.pdb
?????文件????????2916??2015-11-22?16:06??Debug\DS.res
?????文件???????30348??2015-11-22?16:55??Debug\DSDlg.obj
?????文件????????7727??2015-11-22?16:52??Debug\Node.obj
?????文件??????105526??2015-11-21?12:52??Debug\StdAfx.obj
?????文件???????13349??2015-11-23?19:44??Debug\Tree.obj
?????文件??????222208??2015-11-23?19:44??Debug\vc60.idb
?????文件??????380928??2015-11-23?19:44??Debug\vc60.pdb
?????文件???????35920??2015-11-22?16:06??DS.APS
?????文件????????1539??2015-11-23?20:39??DS.clw
?????文件????????2007??2015-11-21?12:21??DS.cpp
?????文件????????4327??2015-11-21?17:16??DS.dsp
?????文件?????????512??2015-11-21?12:21??DS.dsw
?????文件????????1280??2015-11-21?12:21??DS.h
?????文件???????74752??2015-11-23?20:54??DS.ncb
?????文件???????51712??2015-11-23?20:54??DS.opt
?????文件?????????945??2015-11-23?19:44??DS.plg
?????文件????????5785??2015-11-22?16:06??DS.rc
?????文件????????7307??2015-11-22?16:55??DSDlg.cpp
?????文件????????1601??2015-11-22?16:34??DSDlg.h
?????文件????????1021??2015-11-22?16:52??Node.cpp
?????文件?????????382??2015-11-22?16:44??Node.h
?????文件????????3507??2015-11-21?12:21??ReadMe.txt
?????目錄???????????0??2015-11-21?12:21??res\
?????文件????????1078??2015-11-21?12:21??res\DS.ico
?????文件?????????394??2015-11-21?12:21??res\DS.rc2
............此處省略5個文件信息

評論

共有 條評論