-
大小: 1.78MB文件類(lèi)型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-10-25
- 語(yǔ)言: C/C++
- 標(biāo)簽:
資源簡(jiǎn)介
用c++語(yǔ)言編寫(xiě)的,打氣球游戲,有開(kāi)始暫停按鈕,退出按鈕,是獨(dú)立的窗口,VC6.0編譯通過(guò)。文件中包含所有的源代碼及可執(zhí)行文件。

代碼片段和文件信息
//?GAMES.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“GAMES.h“
#include?“GAMESDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CGAMESApp
BEGIN_MESSAGE_MAP(CGAMESApp?CWinApp)
//{{AFX_MSG_MAP(CGAMESApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CGAMESApp?construction
CGAMESApp::CGAMESApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CGAMESApp?object
CGAMESApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CGAMESApp?initialization
BOOL?CGAMESApp::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
CGAMESDlg?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)
-----------?---------??----------?-----??----
?????文件?????110651??2010-11-26?23:13??GAMES\Debug\GAMES.exe
?????文件?????201584??2010-11-26?23:13??GAMES\Debug\GAMES.ilk
?????文件??????14219??2010-01-09?17:33??GAMES\Debug\GAMES.obj
?????文件????5494912??2010-01-09?17:33??GAMES\Debug\GAMES.pch
?????文件?????353280??2010-11-26?23:13??GAMES\Debug\GAMES.pdb
?????文件???????2596??2010-11-26?23:13??GAMES\Debug\GAMES.res
?????文件??????30599??2010-01-09?17:33??GAMES\Debug\GAMESDlg.obj
?????文件??????10644??2010-01-09?17:33??GAMES\Debug\RCa04232
?????文件??????10644??2010-01-09?17:32??GAMES\Debug\RCa04848
?????文件?????105435??2010-01-09?17:33??GAMES\Debug\StdAfx.obj
?????文件?????189440??2010-11-26?23:13??GAMES\Debug\vc60.idb
?????文件?????364544??2010-01-09?17:33??GAMES\Debug\vc60.pdb
?????文件???????2049??2010-01-06?20:55??GAMES\GAMES.cpp
?????文件???????4141??2010-01-06?20:55??GAMES\GAMES.dsp
?????文件????????518??2010-01-06?21:27??GAMES\GAMES.dsw
?????文件???????1313??2010-01-06?20:55??GAMES\GAMES.h
?????文件??????66560??2010-11-26?23:13??GAMES\GAMES.ncb
?????文件??????48640??2010-11-26?23:13??GAMES\GAMES.opt
?????文件????????525??2010-11-26?23:13??GAMES\GAMES.plg
?????文件???????5508??2010-01-09?17:08??GAMES\GAMES.rc
?????文件???????8701??2010-01-09?17:14??GAMES\GAMESDlg.cpp
?????文件????????524??2010-01-09?00:06??GAMES\GAMESDlg.dsw
?????文件???????1762??2010-01-09?15:03??GAMES\GAMESDlg.h
?????文件???????1078??2010-01-06?20:55??GAMES\res\GAMES.ico
?????文件????????397??2010-01-06?20:55??GAMES\res\GAMES.rc2
?????文件???????1005??2010-01-09?11:33??GAMES\resource.h
?????文件????????207??2010-01-06?20:55??GAMES\StdAfx.cpp
?????文件???????1054??2010-01-06?20:55??GAMES\StdAfx.h
?????目錄??????????0??2010-11-26?23:18??GAMES\Debug
?????目錄??????????0??2010-11-26?23:18??GAMES\res
............此處省略4個(gè)文件信息
評(píng)論
共有 條評(píng)論