资源简介
用c++语言编写的,打气球游戏,有开始暂停按钮,退出按钮,是独立的窗口,VC6.0编译通过。文件中包含所有的源代码及可执行文件。
代码片段和文件信息
// 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 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个文件信息
评论
共有 条评论