登录
首页 » Visual C++ » MFC

MFC

于 2020-11-04 发布 文件大小:252KB
0 316
下载积分: 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 个回复

  • duilib-master
    开源库,实现界面开发,可以使用开发各种界面,使用Win32(Open Source Library for Interface Development)
    2020-06-18 18:00:01下载
    积分:1
  • solve
    求解菲克第二定律的matlab源代码,求解连续源、瞬时源(Solving Fick s second law)
    2020-06-28 20:20:02下载
    积分:1
  • WindowViewportMap
    该小程序形象说明了Windows窗口与视口之间的映射关系。(The image shows a small Windows program window and viewport mapping between.)
    2011-10-18 10:00:15下载
    积分:1
  • testprog
    一个简单好用的进度条例子程序 vc++开发 可以在此基础上增加自绘功能(An easy-to-use progress Ordinance the subroutine vc++ development to increase self-drawn on this basis)
    2012-08-07 16:25:25下载
    积分:1
  • IPEidtDemo
    vc ——使用IP地址控件显示和设置IP地址IPEidtDemo(vc- use the IP address control to display and set the IP address IPEidtDemo)
    2011-07-24 20:46:05下载
    积分:1
  • CAD20160629
    利用VB语言编制程序,生成EXE文件,点击该文件将启动CAD,并为CAD工具栏上加载对应菜单,用户根据需要修改代码的工具名即可。(vb- cad menu)
    2016-07-03 16:15:39下载
    积分:1
  • activexaaa
    工业仪表界面,可以用来开发工业常见仪表式界面程序,采用控件编程,方便使用(industrial instrumentation interface can be used for the development of industrial instrumentation interfaces common procedures used controls programming, ease of use)
    2006-07-28 13:12:26下载
    积分:1
  • HGE_OBJECT
    说明:  本例子介绍了HGE粒子,动画,GUI界面控件,字体,是一个良好的游戏框架(This example describes HGE particles, animation, GUI interface controls, fonts, is a good game framework)
    2010-04-13 17:47:50下载
    积分:1
  • active
    基于C++ alt控件编程教程。对于初学者有很好的指导作用。(It is ALT control base on C++ and good for the beginner.)
    2010-12-31 23:33:32下载
    积分:1
  • cxocode
    Bar code generator, such as type of bar code can be generated. No other controls, demo,
    2017-06-17 09:02:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载