-
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
-
C++hao-zi-liao
大家共享好东西,
尤其是学C++的出血者(share good things, especially learning C bleeding)
- 2006-10-30 18:29:27下载
- 积分:1
-
第八届
蓝桥杯嵌入式第八届模拟题及答案 蓝桥杯” 第八届全国软件和信息技术专业人才大赛个人赛 (电子类)模拟试题-嵌入式设计与开发项目 第二部分:实践题 “温湿度监控设备”设计任务书 一. 功能简述 “温湿度监控设备”通过采集传感器输出电压信号和信号频率得到环境温湿度数据,并能够根据设定的温湿度阈值执行相应动作,系统框图如图1所示:(Blue Bridge Cup Embedded 8th Analog Questions and Answers Blue Bridge Cup 8th National Software and Information Technology Professionals Competition Personal Competition (Electronic) Analog Questions-Embedded Design and Development Project Part 2: Practice Question "Temperature and Humidity Monitoring Equipment" Design Task 1. Function Brief Introduction of "Temperature and Humidity Monitoring Equipment" Output Voltage Signal and Signal Frequency by Collecting Sensors The environmental temperature and humidity data are obtained and the corresponding actions can be performed according to the set temperature and humidity threshold. The system block diagram is shown in Figure 1.)
- 2019-03-18 02:24:06下载
- 积分:1
-
MDIFrameBackground
To get this task done, my first instinct was to catch the WM_ERASEBKGND in CMainFrame and do the FillSolidRect there. But I soon realized that approach didn t do anything other than make the frame flicker and show red only when it s being resized, otherwise the gray background was completely intact. Not exactly what I was looking for. Suddenly it became a little mystery. Why doesn t the background of the frame change when I fill it with a color in the frame s WM_ERASEBKGND handler? So I went on a hunt, I went through a lot of the CMDIFrameWnd and CFrameWnd code looking for methods that would draw on the frame, and there was not much there. I finally ended up at CMainFrame::OnCreate method, I set a breakpoint and stepped through the CMDIFrameWnd::OnCreate method. After what seemed to be hours of searching I came across the following code in CMDIFrameWnd::CreateClient:
- 2010-08-06 14:07:20下载
- 积分:1
-
Mediaplayer
MFC实现的播放器,可以实现简单的播放、暂停、停止等功能,有播放列表。(MFC implementation player, you can achieve a simple play, pause, stop and other functions, and playlists.)
- 2020-12-05 08:49:23下载
- 积分:1
-
Windows
说明: 利用打印驱动程序生成SVG文件,很好的源代码下载把(Use printer driver to generate SVG documents, a very good source code to download the)
- 2008-10-07 12:26:44下载
- 积分:1
-
Mouse
该程序能够改变鼠标形状,是一个非常好的例子.(The program can change the mouse shape is a very good example.)
- 2009-12-02 18:49:35下载
- 积分:1
-
main
Simple Linked List.vcproj
- 2009-12-17 06:44:00下载
- 积分:1
-
matrix.h
定义Matrix矩阵类,定义矩阵类头文件matrix.h(Matrix matrix class definition, define matrix class header file matrix.h)
- 2020-08-03 20:28:35下载
- 积分:1
-
ZFQXOX
自实现提示窗口,可以实现与XP风格的提示窗口类库,基于MFC,()
- 2018-04-29 06:13:18下载
- 积分:1