Description: 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
To Search:
File list (Check if you may need any files):
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