资源简介
猫和老鼠 C++游戏代码 klfjklasjfklj
代码片段和文件信息
// CatCatchRat.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “CatCatchRat.h“
#include “MainFrm.h“
#include “CatCatchRatDoc.h“
#include “CatCatchRatView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCatCatchRatApp
BEGIN_MESSAGE_MAP(CCatCatchRatApp CWinApp)
//{{AFX_MSG_MAP(CCatCatchRatApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCatCatchRatApp construction
CCatCatchRatApp::CCatCatchRatApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCatCatchRatApp object
CCatCatchRatApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCatCatchRatApp initialization
BOOL CCatCatchRatApp::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
// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CCatCatchRatDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CCatCatchRatView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one and only window has been initialized so show and update it.
m
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1205 2005-12-01 23:10 猫抓老鼠\CatCatchRat\SelectDlg.h
文件 36232 2009-01-05 17:23 猫抓老鼠\CatCatchRat\CatCatchRat.aps
文件 12607 2005-12-01 23:10 猫抓老鼠\CatCatchRat\CatCatchRat.rc
文件 1309 2005-12-01 23:10 猫抓老鼠\CatCatchRat\SelectDlg.cpp
文件 13692 2005-12-01 23:03 猫抓老鼠\CatCatchRat\CatCatchRatView.cpp
文件 3660 2005-12-01 22:38 猫抓老鼠\CatCatchRat\CatCatchRatView.h
文件 2635 2009-01-05 17:26 猫抓老鼠\CatCatchRat\CatCatchRat.clw
文件 4431 2005-11-24 22:18 猫抓老鼠\CatCatchRat\ReadMe.txt
文件 1411 2005-11-24 22:18 猫抓老鼠\CatCatchRat\CatCatchRat.h
文件 4299 2005-11-24 22:18 猫抓老鼠\CatCatchRat\CatCatchRat.cpp
文件 1054 2005-11-24 22:18 猫抓老鼠\CatCatchRat\StdAfx.h
文件 213 2005-11-24 22:18 猫抓老鼠\CatCatchRat\StdAfx.cpp
文件 1516 2005-12-01 23:10 猫抓老鼠\CatCatchRat\Resource.h
文件 1530 2005-11-24 22:18 猫抓老鼠\CatCatchRat\CatCatchRatDoc.h
文件 1842 2005-11-24 22:18 猫抓老鼠\CatCatchRat\CatCatchRatDoc.cpp
文件 5316 2005-12-01 23:12 猫抓老鼠\CatCatchRat\CatCatchRat.dsp
文件 547 2005-11-24 22:18 猫抓老鼠\CatCatchRat\CatCatchRat.dsw
文件 123904 2009-01-05 17:27 猫抓老鼠\CatCatchRat\CatCatchRat.ncb
文件 2402 2009-01-05 17:23 猫抓老鼠\CatCatchRat\CatCatchRat.plg
文件 623 2005-12-01 15:52 猫抓老鼠\CatCatchRat\Window st
文件 1583 2005-12-01 16:09 猫抓老鼠\CatCatchRat\MainFrm.h
文件 2682 2005-12-01 16:13 猫抓老鼠\CatCatchRat\MainFrm.cpp
文件 52736 2009-01-05 17:27 猫抓老鼠\CatCatchRat\CatCatchRat.opt
文件 13080 2009-01-05 17:23 猫抓老鼠\CatCatchRat\Debug\CatCatchRat.res
文件 364544 2009-01-05 17:23 猫抓老鼠\CatCatchRat\Debug\vc60.pdb
文件 1368542 2009-01-05 17:23 猫抓老鼠\CatCatchRat\Debug\StdAfx.sbr
文件 105538 2009-01-05 17:23 猫抓老鼠\CatCatchRat\Debug\StdAfx.obj
文件 0 2009-01-05 17:23 猫抓老鼠\CatCatchRat\Debug\CatCatchRat.sbr
文件 0 2009-01-05 17:23 猫抓老鼠\CatCatchRat\Debug\CatCatchRatDoc.sbr
文件 0 2009-01-05 17:23 猫抓老鼠\CatCatchRat\Debug\CatCatchRatView.sbr
............此处省略28个文件信息
评论
共有 条评论