文件名称:HanoiTower
- 所属分类:
- 界面编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 105kb
- 下载次数:
- 0次
- 提 供 者:
- 吕*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
自建Tower类和Disc类,将Tower和Disc的位置、形状相关信息作为类的数据成员存储。在每次更改相应属性的时候都调用OnDraw()函数,并在其中顺序绘出当前的Tower和Disc,这样在改变塔和碟子属性的同时也就改变了塔和碟子在屏幕上的显示位置,从而达到了动态实现汉诺塔图形化的目的。-Disc self-Tower type and category, will be the location of Tower and Disc, shape-related information as the type of data storage member. The corresponding change in each attribute at all times to call OnDraw () function, and in which order to map the current Tower and the Disc, this tower and the plate in the change attributes at the same time, changed the tower and the plate on the screen display position so as to achieve a dynamic graphical Hanoi realize the purpose.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
HanoiTower
..........\1
..........\Disc.cpp
..........\Disc.h
..........\HanoiTower.aps
..........\HanoiTower.clw
..........\HanoiTower.cpp
..........\HanoiTower.dsp
..........\HanoiTower.dsw
..........\HanoiTower.h
..........\HanoiTower.ncb
..........\HanoiTower.opt
..........\HanoiTower.plg
..........\HanoiTower.rc
..........\HanoiTowerDoc.cpp
..........\HanoiTowerDoc.h
..........\HanoiTowerView.cpp
..........\HanoiTowerView.h
..........\MainFrm.cpp
..........\MainFrm.h
..........\ParaDlg.cpp
..........\ParaDlg.h
..........\ReadMe.txt
..........\res
..........\...\HanoiTower.rc2
..........\...\icon1.ico
..........\resource.h
..........\StdAfx.cpp
..........\StdAfx.h
..........\Tower.cpp
..........\Tower.h
HanoiTower.doc
..........\1
..........\Disc.cpp
..........\Disc.h
..........\HanoiTower.aps
..........\HanoiTower.clw
..........\HanoiTower.cpp
..........\HanoiTower.dsp
..........\HanoiTower.dsw
..........\HanoiTower.h
..........\HanoiTower.ncb
..........\HanoiTower.opt
..........\HanoiTower.plg
..........\HanoiTower.rc
..........\HanoiTowerDoc.cpp
..........\HanoiTowerDoc.h
..........\HanoiTowerView.cpp
..........\HanoiTowerView.h
..........\MainFrm.cpp
..........\MainFrm.h
..........\ParaDlg.cpp
..........\ParaDlg.h
..........\ReadMe.txt
..........\res
..........\...\HanoiTower.rc2
..........\...\icon1.ico
..........\resource.h
..........\StdAfx.cpp
..........\StdAfx.h
..........\Tower.cpp
..........\Tower.h
HanoiTower.doc