========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : Game
========================================================================
AppWizard has created this Game application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your Game application.
Game.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
Game.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CGameApp application class.
Game.cpp
This is the main application source file that contains the application
class CGameApp.
Game.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
Game.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\Game.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file Game.rc.
res\Game.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CFrameWnd and controls all SDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the CMainFrame
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in Game.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
GameDoc.h, GameDoc.cpp - the document
These files contain your CGameDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CGameDoc::Serialize).
GameView.h, GameView.cpp - the view of the document
These files contain your CGameView class.
CGameView objects are used to view CGameDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named Game.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
C++编程MFC猫捉老鼠小游戏
共92个文件
h:17个
cpp:16个
bmp:16个
4星 · 超过85%的资源 需积分: 35 68 下载量 47 浏览量
2011-06-11
17:24:09
上传
评论 2
收藏 5.56MB ZIP 举报
温馨提示
使用MFC简单的猫捉老鼠小游戏!但是没有面向对象 以后谁想要面向对象的我再发! 谢谢 大家的支持是我前进的动力!
资源推荐
资源详情
资源评论
收起资源包目录
Game1.0版(new).zip (92个子文件)
Game1.0版(new)
GameDoc.h 1KB
Pet1.cpp 1KB
DLG_Player_Setting.cpp 1KB
DLG_NAME.cpp 948B
Resource.h 2KB
IDDLG_DLG2.cpp 1021B
DLG_DOGALIVE.cpp 982B
Game.aps 546KB
res
left.bmp 2KB
cat.ico 7KB
catright.bmp 818B
GameDoc.ico 1KB
catleft.bmp 838B
tom 155 188.bmp 86KB
MouseTitlePic.ico 2KB
catup.bmp 838B
Toolbar.bmp 1KB
jerry5951.bmp 9KB
right.bmp 2KB
Game.rc2 396B
dogdown.bmp 5KB
Game.ico 1KB
mouse.cur 2KB
cursor1.cur 326B
CatTitlePic.ico 2KB
BackGround.bmp 361KB
dogup.bmp 5KB
up.bmp 2KB
catdown.bmp 818B
dogleft.bmp 5KB
dogright.bmp 5KB
down.bmp 2KB
cat.cpp 1KB
DLG_DOGALIVE.h 1KB
GameView.h 3KB
Game.dsw 516B
Game.cpp 4KB
DLG_customs_pass.cpp 1KB
Pet.cpp 503B
Game.clw 4KB
DLG_customs_pass.h 1KB
DLG_ROLE_CHOOSE.cpp 1KB
IDDLG_DLG2.h 1KB
DLG_ROLE_CHOOSE.h 1KB
Game.ncb 289KB
Game.opt 58KB
at.h 554B
at.cpp 3KB
StdAfx.cpp 206B
MainFrm.cpp 4KB
cat.h 1KB
Rabbit.cpp 524B
Game.h 1KB
DLG_Player_Setting.h 1KB
Game.plg 682B
MainFrm.h 2KB
Pet.h 470B
StdAfx.h 1KB
Rabbit.h 524B
Pet1.h 687B
GameDoc.cpp 2KB
GameView.cpp 19KB
Debug
GameView.sbr 276KB
StdAfx.obj 103KB
Game.exe 740KB
DLG_customs_pass.obj 10KB
DLG_Player_Setting.obj 10KB
GameView.obj 68KB
GameDoc.obj 14KB
Game.pch 6.56MB
Game.pdb 369KB
GameDoc.sbr 0B
DLG_DOGALIVE.obj 10KB
Game.ilk 362KB
DLG_DOGALIVE.sbr 0B
vc60.idb 257KB
DLG_Player_Setting.sbr 0B
DLG_NAME.obj 12KB
StdAfx.sbr 1.31MB
MainFrm.sbr 0B
Game.sbr 0B
vc60.pdb 452KB
DLG_NAME.sbr 0B
MainFrm.obj 27KB
Game.bsc 3.36MB
Game.obj 29KB
Game.res 505KB
DLG_customs_pass.sbr 0B
Game.rc 15KB
Game.dsp 6KB
ReadMe.txt 4KB
DLG_NAME.h 1KB
共 92 条
- 1
资源评论
- xiaoQ0062015-11-16很好,参考一下,谢谢
- 那一缕阳光2015-07-07很好,可以用!
Phoenixcwx
- 粉丝: 1
- 资源: 18
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Python的图像阴影检测与去除源码(高分期末大作业项目).zip
- 基于C++/Qt实现的井字棋游戏
- 基于 Python 编程语言的 Web 框架Django
- Python和Flask实现的基于体检数据的城市公共健康可视分析系统源码+使用说明.zip
- 基于python实现的华为智慧工地-安全帽检测
- buck-boost_2023-12-16_12-12-13.eprj
- 后端开发关于数据库和API开发的介绍
- 机器学习和数据挖掘课程设计-米其林餐厅数据挖掘管理系统源码+使用文档说明.zip
- html html html展示我与ai的对化
- 数据结构课程设计-全国交通出行咨询模拟系统C语言实现源码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功