-
大小: 3.78MB文件類(lèi)型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-09-10
- 語(yǔ)言: C/C++
- 標(biāo)簽:
資源簡(jiǎn)介
簡(jiǎn)約GUI圖形用戶(hù)界面,完整的實(shí)現(xiàn)算法,學(xué)習(xí)、鞏固和掌握c/c++編程,有所幫助。

代碼片段和文件信息
//?17.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“17.h“
#include?“17Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy17App
BEGIN_MESSAGE_MAP(CMy17App?CWinApp)
//{{AFX_MSG_MAP(CMy17App)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMy17App?construction
CMy17App::CMy17App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy17App?object
CMy17App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy17App?initialization
BOOL?CMy17App::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
CMy17Dlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件?????256696??2015-05-15?16:31??計(jì)算器\17.aps
?????文件???????1774??2015-06-29?16:57??計(jì)算器\17.clw
?????文件???????2029??2015-03-28?16:54??計(jì)算器\17.cpp
?????文件???????4163??2015-04-11?17:57??計(jì)算器\17.dsp
?????文件????????512??2015-03-28?16:54??計(jì)算器\17.dsw
?????文件???????1290??2015-03-28?16:54??計(jì)算器\17.h
?????文件??????66560??2015-06-29?16:57??計(jì)算器\17.ncb
?????文件??????49664??2015-06-29?16:57??計(jì)算器\17.opt
?????文件????????700??2015-04-26?10:24??計(jì)算器\17.plg
?????文件???????6120??2015-05-15?16:31??計(jì)算器\17.rc
?????文件???????9496??2015-06-29?16:57??計(jì)算器\17Dlg.cpp
?????文件???????1767??2015-04-09?12:31??計(jì)算器\17Dlg.h
?????文件???????3513??2015-03-28?16:54??計(jì)算器\ReadMe.txt
?????文件???????1553??2015-04-11?17:56??計(jì)算器\resource.h
?????文件????????204??2015-03-28?16:54??計(jì)算器\StdAfx.cpp
?????文件???????1054??2015-03-28?16:54??計(jì)算器\StdAfx.h
?????文件?????380976??2015-04-11?17:56??計(jì)算器\Debug\17.exe
?????文件?????202104??2015-04-11?17:56??計(jì)算器\Debug\17.ilk
?????文件??????12666??2015-04-09?12:32??計(jì)算器\Debug\17.obj
?????文件????5489852??2015-03-28?16:58??計(jì)算器\Debug\17.pch
?????文件?????386048??2015-04-11?17:56??計(jì)算器\Debug\17.pdb
?????文件?????222860??2015-04-11?17:56??計(jì)算器\Debug\17.res
?????文件??????57724??2015-04-11?17:56??計(jì)算器\Debug\17Dlg.obj
?????文件?????105643??2015-03-28?16:58??計(jì)算器\Debug\StdAfx.obj
?????文件?????214016??2015-04-11?17:56??計(jì)算器\Debug\vc60.idb
?????文件?????364544??2015-04-11?17:56??計(jì)算器\Debug\vc60.pdb
?????文件?????434176??2016-01-22?00:41??計(jì)算器\Release\17.exe
?????文件???????7921??2015-04-11?18:40??計(jì)算器\Release\17.obj
?????文件????5581644??2015-04-11?18:40??計(jì)算器\Release\17.pch
?????文件?????228868??2015-04-26?10:24??計(jì)算器\Release\17.res
............此處省略15個(gè)文件信息
評(píng)論
共有 條評(píng)論