文件名称: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
(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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MainFrm.cpp
MainFrm.h
MFC.APS
MFC.cpp
MFC.h
MFC.rc
MFC.vcxproj
MFC.vcxproj.filters
MFCDoc.cpp
MFCDoc.h
MFCView.cpp
MFCView.h
ReadMe.txt
resource.h
stdafx.cpp
stdafx.h
targetver.h
UserImages.bmp
res\MFC.ico
...\MFC.rc2
...\MFCDoc.ico
...\Toolbar.bmp
...\Toolbar256.bmp
res
Text1.cpp
Text1.h
MFC.exe