========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : AntProblemAnimation
========================================================================
AppWizard has created this AntProblemAnimation 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 AntProblemAnimation application.
AntProblemAnimation.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.
AntProblemAnimation.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CAntProblemAnimationApp application class.
AntProblemAnimation.cpp
This is the main application source file that contains the application
class CAntProblemAnimationApp.
AntProblemAnimation.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++.
AntProblemAnimation.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\AntProblemAnimation.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file AntProblemAnimation.rc.
res\AntProblemAnimation.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 AntProblemAnimation.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
AntProblemAnimationDoc.h, AntProblemAnimationDoc.cpp - the document
These files contain your CAntProblemAnimationDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CAntProblemAnimationDoc::Serialize).
AntProblemAnimationView.h, AntProblemAnimationView.cpp - the view of the document
These files contain your CAntProblemAnimationView class.
CAntProblemAnimationView objects are used to view CAntProblemAnimationDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named AntProblemAnimation.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.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
蚂蚁游戏MFC解决方案
共41个文件
h:12个
cpp:11个
bmp:6个
需积分: 13 51 下载量 106 浏览量
2007-08-01
20:56:09
上传
评论
收藏 55KB RAR 举报
温馨提示
我们OOAD课程的作业,题目是一根300cm的杆子的5个位置上有5只蚂蚁,头朝方向不定,蚂蚁速度5cm/s,蚂蚁相撞后会朝相反方向前进,蚂蚁爬出杆子後就掉在地上了,问所有头的朝向中那一种方案是所有蚂蚁掉在地上时耗时最短的,哪种是最长的。我手绘了蚂蚁,做成了动画,呵呵还挺好玩的。
资源推荐
资源详情
资源评论
收起资源包目录
AntProblemAnimation.rar (41个子文件)
AntProblemAnimation
MyAnt.cpp 611B
AntProblemAnimation.dsw 563B
StdAfx.cpp 221B
AntProblemAnimation.rc 11KB
resource.h 974B
Core Code
Ant.h 1KB
Straw.cpp 449B
GameRoom.h 941B
CGameRoom.cpp 2KB
Game.cpp 2KB
Ant.cpp 1KB
Game.h 926B
Straw.h 430B
AntProblemAnimationDoc.cpp 2KB
AntProblemAnimationDoc.h 2KB
MainFrm.h 1KB
AntProblemAnimation.h 1KB
AntProblemAnimation.aps 48KB
AntProblemAnimationView.h 2KB
ReadMe.txt 5KB
StdAfx.h 1KB
MainFrm.cpp 2KB
AntProblemAnimation.dsp 6KB
MyGame.h 973B
MyGame.cpp 2KB
AntProblemAnimation.clw 2KB
MyAnt.h 589B
res
AntProblemAnimationDoc.ico 1KB
ANT1.bmp 910B
Convert_ANT2.bmp 910B
bitmap1.bmp 1KB
Convert_ANT1.bmp 910B
AntProblemAnimation.rc2 411B
AntProblemAnimation.ico 1KB
ANT2.bmp 910B
Toolbar.bmp 1KB
AntProblemAnimation.ncb 145KB
AntProblemAnimation.plg 1KB
AntProblemAnimation.opt 53KB
AntProblemAnimation.cpp 4KB
AntProblemAnimationView.cpp 5KB
共 41 条
- 1
资源评论
HuangWeijing
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- C语言基础-C语言编程基础之Leetcode编程题解之第39题组合总和.zip
- C语言基础-C语言编程基础之Leetcode编程题解之第38题外观数列.zip
- C语言基础-C语言编程基础之Leetcode编程题解之第37题解数独.zip
- C语言基础-C语言编程基础之Leetcode编程题解之第36题有效的数独.zip
- C语言基础-C语言编程基础之Leetcode编程题解之第35题搜索插入位置.zip
- index.wxml
- C语言基础-C语言编程基础之Leetcode编程题解之第33题搜索旋转排序数组.zip
- 基于Python实现的手写数字识别系统源码.zip
- 从网页提取禁止转载的文字
- C语言基础-C语言编程基础之Leetcode编程题解之第32题最长有效括号.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功