-
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
-
DM6437guide
DM6437 达盛实验指导书 (dm6437 experiment guide)
- 2014-07-16 15:03:17下载
- 积分:1
-
SystemTree
通过对话框构建了一个简单的xp资源管理器,演示了CTreeCtrl和CListCtrl的使用方法,很仔细的。可以帮助我们掌握这个类的使用方法(Through the dialog box to build a simple resource manager xp, CTreeCtrl and CListCtrl demonstrated the use of methods, very careful. Can help us grasp this type of use)
- 2009-04-26 23:27:18下载
- 积分:1
-
An_Interne213918132009
Internet Cafe Monitoring System
- 2018-09-21 11:30:18下载
- 积分:1
-
ADOctrlAccess
说明: ADO控制Access数据库。源来《Visual c++案例开发集锦》(ADO Control Access database. Source to " Visual c++ Collection of case development," )
- 2010-04-05 01:42:25下载
- 积分:1
-
cao
这是有关C语言和VB的例题程序 希望对大家有帮助 谢谢
(This is the C language and VB of the example program we want to help thank you)
- 2011-05-16 17:30:48下载
- 积分:1
-
CODE_UPLOAD1216011282000
说明: VC++编程,MFC执行一个弹出消息的线程,对于线程的初学者有帮助(VC++ Programming, MFC to implement a pop-up message thread, the thread will help beginners)
- 2008-10-19 22:33:39下载
- 积分:1
-
XPToolBar
XP风格工具栏,漂亮的界面设计,可以编译运行(XP STYLE TOOL BAR)
- 2009-12-21 10:39:49下载
- 积分:1
-
prime
判断数字是否是质数,很好用的,对于小学生来说!(Determine whether the number is a prime number, the good, is for students!)
- 2010-12-02 23:02:53下载
- 积分:1
-
C8051F060-DAC
这个程序输出正弦和余弦波形 使用DAC硬这C8051F060单片机DAC0波形输出 和DAC1 Timer4中断更新的输出DAC.Timer4 ISR的 然后导致了DACs计算的输出,这是下一个中断。 输出波形的频率设定的# define <频率>。 实现定义的精确输出频率<频率>,一个 /使用外部晶体。(This program outputs sine and cosine waveforms using the hardware DACs
// on the C8051F06x microcontroller. The waveforms are output on pins DAC0
// and DAC1.
//
// The output of the DAC is updated upon a Timer4 interrupt. The Timer4 ISR
// then calculates the output of the DACs for the next interrupt.
//
// The frequency of the output waveforms is set by the#define <FREQUENCY>.
// To achieve the exact output frequency defined by <FREQUENCY>, an
// external crystal should be used.)
- 2014-07-03 19:05:12下载
- 积分:1