-
MFC
(1)定义一个抽象基类Shape,同它派生出5个类:圆、正方形、矩形、梯形、三角形。
(2)利用虚函数计算几种图形面积。
(3)演示构造函数、复制构造函数、析构函数的作用和调用顺序
(4)用类模板具体实现。
(5)利用MFC类库在图形用户界面上绘制及修改这些图形,采用对话框输入输出图形的基本属性,或者利用运算符重载输入输出图形的基本属性。
(6)用文件保存图形信息,且能够从文件中读取并作相应处理。
2)创新要求:
采用头文件与源文件分离的方法,多态性的实现多样化(defines an abstract base class Shape, with which it derives five categories: round, square, rectangular, trapezoidal, triangular.
(2) the use of virtual functions to calculate several graphics area.
Effect (3) demonstrate the constructor, copy constructor and destructor call sequence
(4) with a class template implementation.
(5) The use of MFC library to draw and modify graphics, using the basic properties dialog input and output graphics, or the use of the basic properties of operator overloading the input and output graphics on the graphical user interface.
(6) with the file save graphical information, and can be read a file and make the appropriate treatment.
2) Innovation requirements:
Using the method header and source files separate polymorphism diversify
)
- 2020-11-04 14:29:52下载
- 积分:1
-
ToolDemo
第5章 菜单、工具栏、状态栏及其相关资源ToolDemoToolDemo.rar,很不错的vc源码,有兴趣的朋友可以看看。(Chapter 5 menus, toolbars, status bar and its associated resources ToolDemo ToolDemo.rar, very good vc source, interested friends can see.)
- 2011-09-11 23:01:05下载
- 积分:1
-
EditTreeControl
创建可编辑节点的树形控件EditTreeControlEditTreeControl.rar,很不错的vc源码,希望对大家有所帮助。(Creating an editable node tree control EditTreeControl EditTreeControl.rar, very good vc source code, we want to help.)
- 2011-09-21 22:44:13下载
- 积分:1
-
WinMain
vc的代码,实现功能自己看。主要是界面,一些简单的编程。(youcanseebyyourself ,ok)
- 2009-10-18 09:50:02下载
- 积分:1
-
FlatLeapYearRecognition
基于VC6.0平台编写的一个图形化界面平闰年识别器,界面精美,值得VC初学者参考!(Flat leap year recognition)
- 2013-08-04 15:17:33下载
- 积分:1
-
546789765
VB简单的圆形放大镜源代码,有需要的就下载吧。(VB source code for a simple round magnifying glass, there is a need to download it.)
- 2013-08-30 09:20:34下载
- 积分:1
-
PlayTimeTest
时间块界面展示,画面上显示哪个时间段信息(Block interface shows the time displayed on the screen which time the information)
- 2011-05-31 10:37:23下载
- 积分:1
-
dhxg
vc窗体的动画效果的程序源码,很不错的demo(vc form animation program source code, very good demo)
- 2011-06-28 06:49:11下载
- 积分:1
-
CUIShadow
duilib界面库缺少阴影,这段代码能给duilib的窗口阴影效果。(duilib interface library lacks shadows, give the code window of the shadow effect duilib.)
- 2014-05-12 10:35:32下载
- 积分:1
-
SelfScroll
可以设置背景的VB个性滚动条、进度条,有需要的下。(Can set the background of the scroll bar, progress bar, VB personality in need.)
- 2013-08-19 08:19:14下载
- 积分:1