========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : HanoiTower
========================================================================
AppWizard has created this HanoiTower 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 HanoiTower application.
HanoiTower.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.
HanoiTower.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CHanoiTowerApp application class.
HanoiTower.cpp
This is the main application source file that contains the application
class CHanoiTowerApp.
HanoiTower.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++.
HanoiTower.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\HanoiTower.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file HanoiTower.rc.
res\HanoiTower.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 HanoiTower.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
HanoiTowerDoc.h, HanoiTowerDoc.cpp - the document
These files contain your CHanoiTowerDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CHanoiTowerDoc::Serialize).
HanoiTowerView.h, HanoiTowerView.cpp - the view of the document
These files contain your CHanoiTowerView class.
CHanoiTowerView objects are used to view CHanoiTowerDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named HanoiTower.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 汉诺塔的动画实现
共81个文件
tlog:17个
h:8个
cpp:7个
需积分: 10 9 下载量 69 浏览量
2014-03-20
16:31:53
上传
评论 2
收藏 36.54MB ZIP 举报
温馨提示
非常详细的代码,对于初学者很有帮助。上传上来希望有更多的初学者可以领会C++的奥秘。
资源推荐
资源详情
资源评论
收起资源包目录
HanoiTower.zip (81个子文件)
HanoiTower
ipch
hanoitower-8102c213
hanoitower-b86b0336.ipch 66.56MB
HanoiTower.plg 1KB
MyButton.h 1KB
StdAfx.cpp 212B
HanoiTower1.cpp 565B
HanoiTower.h 1KB
HanoiTower.vcxproj.user 143B
HanoiTower1.h 530B
HanoiTower.sln 204B
MainFrm.h 2KB
HanoiTower.sdf 50.33MB
HanoiTower.aps 28KB
HanoiTowerView.h 2KB
HanoiTowerView.cpp 5KB
HanoiTower.opt 88KB
Debug
link.read.1.tlog 5KB
HanoiTower.log 5KB
vc100.pdb 2.2MB
link-cvtres.read.1.tlog 2B
link.command.1.tlog 2KB
vc60.pdb 364KB
HanoiTower.pch 6.56MB
bscmake.write.1.tlog 606B
rc.write.1.tlog 398B
MainFrm.sbr 3KB
Pillar.sbr 0B
vc60.idb 209KB
CL.write.1.tlog 2KB
BscMake.command.1.tlog 862B
HanoiTower.exe.embed.manifest 667B
rc.command.1.tlog 1KB
HanoiTower.exe.embed.manifest.res 732B
HanoiTower.res 7KB
cl.command.1.tlog 5KB
HanoiTower.ilk 394KB
HanoiTower.bsc 8.17MB
HanoiTowerView.obj 37KB
link-cvtres.write.1.tlog 2B
mt.read.1.tlog 468B
HanoiTower.exe.intermediate.manifest 381B
HanoiTower.obj 23KB
HanoiTower.pdb 449KB
mt.write.1.tlog 360B
MyButton.sbr 15KB
rc.read.1.tlog 3KB
MainFrm.obj 16KB
StdAfx.obj 103KB
HanoiTower_manifest.rc 216B
bscmake.read.1.tlog 1KB
CL.read.1.tlog 28KB
HanoiTowerDoc.obj 26KB
vc100.idb 1MB
MyButton.obj 11KB
HanoiTower.sbr 17KB
mt.command.1.tlog 588B
HanoiTower.lastbuildstate 57B
HanoiTower.exe 120KB
HanoiTowerDoc.sbr 14KB
StdAfx.sbr 1.31MB
link.write.1.tlog 1KB
HanoiTowerView.sbr 19KB
HanoiTower.rc 11KB
HanoiTower.vcxproj 8KB
ReadMe.txt 4KB
StdAfx.h 1KB
HanoiTower.cpp 4KB
HanoiTower.vcxproj.filters 3KB
MainFrm.cpp 3KB
HanoiTower.suo 12KB
Resource.h 597B
MyButton.cpp 1KB
HanoiTowerDoc.h 2KB
HanoiTowerDoc.cpp 2KB
res
HanoiTowerDoc.ico 1KB
HanoiTower.rc2 402B
HanoiTower.ico 1KB
Toolbar.bmp 1KB
HanoiTower.clw 2KB
HanoiTower.ncb 89KB
HanoiTower.dsp 5KB
HanoiTower.dsw 528B
共 81 条
- 1
资源评论
yssacw
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功