-
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
-
1-20
vc灵感编程范例源代码 01 菜单加速键 02 动态创建菜单 03 位图菜单项 04 制作鼠标右键弹出的菜单 05 给系统菜单添加菜单项 06 模式对话框 07 无模式对话框 08 AfxMessageBox的使用 09 基于对话框的应用程序 10 改变对话框的背景色 11 滚动轴的使用 12 隐藏任务栏 13 限制窗口大小的改变 14 创建不规则窗口 15 透明窗口 16 一个总在最上的紫色窗口 17 使窗口居中显示 18 拖非标题栏移动窗口 19 拆分窗口 20 自动停靠窗口(vc inspiration source code programming examples accelerated 01 menu button to create dynamic menu 02 03 04 menu items map system with the right mouse button for the pop-up menu of 05 added to the system menu mode menu items 06 07 modeless dialog box 08 A. fxMessageBox 09 based on the use of dialog 10 applications to change the background color dialog 11 the use of the rolling axis 12 13 hidden task bar window size limit of 14 changes to create irregular window transparent window 15 1 six in a total of the top 17 purple window so that the window of 18 middle-trailers moving window title bar window 20 19 Resolution automatic call window)
- 2004-07-22 03:11:11下载
- 积分:1
-
clock
系统主要实现时间的显示,主要包括获取系统时间然后通过时钟的模拟界面进行时间的显示。(System main time display, including access to the system time and then displays the time by the clock of the analog interface.)
- 2013-11-30 12:04:57下载
- 积分:1
-
VB-Excel
如何使用VB读写Excel示例的工程源码。代码很简洁10几分钟就能读懂。(About how to operate excel with VB. )
- 2013-11-24 15:07:25下载
- 积分:1
-
CALENDAR
在程序中嵌入日历,是一本书中找到的很有学习的价值(Embed calendar program is useful to learn the value ,found in a book)
- 2013-12-24 09:27:15下载
- 积分:1
-
VCDialogDrawing
VC版绘图,直接在对话框中绘制曲线图,可以在二维与上位之间切换(VC version of the drawing, directly draw graphs in the dialog box, you can switch between two-dimensional and the host)
- 2013-07-15 14:31:20下载
- 积分:1
-
StatusBmp
vc——在状态栏上显示BMP位图StatusBmp(vc- in the status bar display BMP bitmaps StatusBmp)
- 2011-07-30 17:26:40下载
- 积分:1
-
Active-piece-of
VC++实现滑动块 按键盘A键滑块左移,D键滑块右移(VC++ realize sliding blocks. According to A slider keyboard key moves left, D key slider move to the right.
)
- 2012-07-04 01:50:57下载
- 积分:1
-
Combo
一个VC++下拉字体预览框,像Word的字体选择功能一样,鼠标点击下拉框的时候,下拉框中的字体名称显示的样式就是该字体的样式,用户选择哪种字体一目了然,方便了用户操作。
(A VC++ drop-down box font preview, font selection function as the Word, like drop-down box when a mouse click, drop-down box displays the name of the style of the font is the font style, font at a glance the user choose which to facilitate the user.)
- 2011-04-23 00:39:11下载
- 积分:1
-
MFCexp10_1
这是任哲老师的程序案例,主要是MFC windows应用程序设计。有关MFC程序设计的程序,其中包含界面的设计和源代码的设计(the design of MFC,include the design of interface and source code)
- 2012-02-29 10:10:49下载
- 积分:1