登录
首页 » Visual C++ » MFC

MFC

于 2020-11-04 发布 文件大小:252KB
0 281
下载积分: 1 下载次数: 12

代码说明:

  (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 )

文件列表:

MainFrm.cpp,8687,2015-01-04
MainFrm.h,1095,2015-01-04
MFC.APS,129556,2015-01-05
MFC.cpp,6077,2015-01-05
MFC.exe,286208,2015-01-05
MFC.h,2180,2015-01-05
MFC.rc,12129,2015-01-05
MFC.vcxproj,6503,2015-01-04
MFC.vcxproj.filters,2921,2015-01-04
MFCDoc.cpp,2442,2015-01-04
MFCDoc.h,829,2015-01-04
MFCView.cpp,5131,2015-01-05
MFCView.h,1324,2015-01-05
ReadMe.txt,4011,2015-01-04
res

...\MFC.rc2,662,2015-01-04



resource.h,2402,2015-01-05
stdafx.cpp,136,2015-01-04
stdafx.h,901,2015-01-04
targetver.h,234,2015-01-04
Text1.cpp,1071,2015-01-04
Text1.h,483,2015-01-04

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SplitterView
    分隔视图的例子。如何使用 CSplitterWnd 类。(separated View examples. How to use CSplitterWnd category.)
    2006-06-05 21:28:22下载
    积分:1
  • Split-window
    拆分基于单文档的视图窗口,在下面的窗口输入字符,上面显示(Split based on a single document view window, enter the characters in the window below, above, shows)
    2011-12-07 15:08:48下载
    积分:1
  • MyHanio1
    一个用mfc实现的带界面汉诺塔源程序,可手动输入最多15层。(An interface using mfc achieved with HANOR source, you can manually enter up to 15 layers.)
    2013-11-06 19:40:59下载
    积分:1
  • Dialog-box
    界面编程的对话框初级编辑教程,适合新手学习(Programming interface dialog primary tutorial, suitable for novice learning)
    2012-04-02 12:01:50下载
    积分:1
  • MFC
    在利用MFC编程时,需要了解MFC的运行顺序(When using MFC, we need to know its sequence.)
    2012-02-27 19:20:40下载
    积分:1
  • ceditlistctrl
    一个经典的可以编辑的listctrl控件(an edit listctrl very class)
    2021-01-13 02:28:47下载
    积分:1
  • DigtalRecognizitionProgram
    说明:  没有密码的,请放心现在参考,为了大家的方便,同时也为了自己的方便,我就发了(no password, please rest assured now refer to everyone's convenience, but also for their own convenience, and I made a)
    2006-05-03 21:18:07下载
    积分:1
  • 392440Youngs-VOF
    使用VOF进行液-液两相流的界面追踪,非常使用,强烈推荐(For liquid- liquid two phase flow using VOF interface tracking )
    2021-01-19 23:08:43下载
    积分:1
  • 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
  • VCPP
    利用 VC++6.0 提供的一种控制台操作方式,可以建立 C 语言应用程序, Win32 控 制台程序(Win32 Console Application)是一类 Windows 程序,它不使用复杂的图形用户 界面,程序与用户交互是通过一个标准的正文窗口(Using VC++6.0 to provide a console mode of operation, you can create C-language applications, Win32 console application (Win32 Console Application) is a type of Windows program, it does not use complex graphical user interface, procedures, and user interaction is through a standard text window)
    2011-08-07 14:58:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载