登录
首页 » Visual C++ » MFC

MFC

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

  • dotnetui
    说明:  用Visual C++ 实现的类似MSDN 2002 样的界面代码。(Using Visual C++ to achieve a similar kind of interface MSDN 2002 code.)
    2009-08-03 10:13:46下载
    积分: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
  • MenuHook
    VC++利用Hook钩子实现的阴影菜单,不要误认为是Winodws系统自带的阴影菜单,仔细看你就会发现两者是不一样的,一样令人羡慕不已,尤其是使用钩子实现,相信对VC++编程者来说,有空的时候还是要看一下哦!虽然大家对这种效果已经司空见惯了,但实现起来没有想像的那么简单,因此具有参考价值。(VC++ to use the realization of the shadow of hook Hook menu, do not mistakenly think it is the shadow of Winodws own menu system, look carefully and you will find they are not the same, as is envy, especially the use of hooks to achieve, I believe VC++ programmers, the time or the time to look at Oh! Although there have been commonplace this effect, but not as to achieve the so simple, it has a reference value.)
    2009-07-16 21:03:58下载
    积分:1
  • 546789765
    VB简单的圆形放大镜源代码,有需要的就下载吧。(VB source code for a simple round magnifying glass, there is a need to download it.)
    2013-08-30 09:20:34下载
    积分:1
  • 2010Expo-tour-guide-system
    Shanghai World Expo tour guide system上海世博会导游系统(Shanghai World Expo tour guide system)
    2013-10-16 20:38:01下载
    积分:1
  • butterfly
    用定时器控制蝴蝶在窗口中飞舞,BitBlt函数 CBitmap类(With a timer control butterfly flying in the window, BitBlt function CBitmap class)
    2011-06-09 16:15:16下载
    积分:1
  • zhinenghuocheshoupiaoxitong
    智能火车售票系统,采用c语言编程,并且拥有良好的交互界面(The smart train ticketing system, c programming language, and has a good interface)
    2013-03-20 10:30:16下载
    积分:1
  • 320655
    vb,net写字板原代码,可以学习的源码,仅供参考(Vb.net clipboard source code, can be the source of learning for reference only)
    2017-06-12 19:20:21下载
    积分:1
  • 32lu-led
    水滴实验(水滴变大下落,带拖尾效果) 水滴实验(水滴变大下落,带拖尾效果) (Drop experiment (larger droplets fall, with tail effect) drop test (larger droplets fall, with tail effect))
    2020-09-23 13:57:51下载
    积分:1
  • SkinShow
    换肤程序小例程,里面实现了程序换皮肤的基本方法,注意,如果程序找不到图片的话,请把pic文件夹放入Debug文件夹。(Skin small routine procedure, which the realization of the procedures for the skin s basic method, note that if not able to locate the picture, please put pic folder Add Debug folder.)
    2008-12-22 21:39:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载