資源簡(jiǎn)介
21點(diǎn)游戲MFC課程設(shè)計(jì),包含項(xiàng)目文件(源碼)和報(bào)告文檔,即下即用

代碼片段和文件信息
//?MFC_Game.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“MFC_Game.h“
#include?“MFC_GameDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMFC_GameApp
BEGIN_MESSAGE_MAP(CMFC_GameApp?CWinApp)
//{{AFX_MSG_MAP(CMFC_GameApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMFC_GameApp?construction
CMFC_GameApp::CMFC_GameApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMFC_GameApp?object
CMFC_GameApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMFC_GameApp?initialization
BOOL?CMFC_GameApp::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
CMFC_GameDlg?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í)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-06-19?16:16??21點(diǎn)\
?????目錄???????????0??2014-01-07?17:09??21點(diǎn)\Debug\
?????文件??????244700??2014-01-07?17:09??21點(diǎn)\MFC_Game.aps
?????文件????????1479??2014-01-07?17:09??21點(diǎn)\MFC_Game.clw
?????文件????????2091??2012-06-24?01:29??21點(diǎn)\MFC_Game.cpp
?????文件????????7522??2012-06-24?04:44??21點(diǎn)\MFC_Game.dsp
?????文件?????????522??2012-06-24?01:29??21點(diǎn)\MFC_Game.dsw
?????文件????????1346??2012-06-24?01:29??21點(diǎn)\MFC_Game.h
?????文件??????197632??2014-01-07?17:11??21點(diǎn)\MFC_Game.ncb
?????文件???????51712??2014-01-07?17:11??21點(diǎn)\MFC_Game.opt
?????文件????????1627??2014-01-06?15:20??21點(diǎn)\MFC_Game.plg
?????文件???????10238??2014-01-03?13:59??21點(diǎn)\MFC_Game.rc
?????文件???????12043??2014-01-03?13:39??21點(diǎn)\MFC_GameDlg.cpp
?????文件????????1779??2014-01-03?13:16??21點(diǎn)\MFC_GameDlg.h
?????文件?????????363??2014-01-02?21:09??21點(diǎn)\ReadMe.txt
?????目錄???????????0??2014-06-19?16:16??21點(diǎn)\res\
?????文件????????3234??2014-01-03?12:30??21點(diǎn)\resource.h
?????文件????????3574??2012-06-24?01:42??21點(diǎn)\res\1.bmp
?????文件????????3574??2012-06-24?01:42??21點(diǎn)\res\10.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\11.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\12.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\13.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\14.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\15.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\16.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\17.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\18.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\19.bmp
?????文件????????3574??2012-06-24?01:42??21點(diǎn)\res\2.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\20.bmp
?????文件????????3574??2012-06-24?04:42??21點(diǎn)\res\21.bmp
............此處省略68個(gè)文件信息
評(píng)論
共有 條評(píng)論