登录
首页 » Visual C++ » MFC

MFC

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

  • property_list_tang_demo
    ListCtrl控件和下拉框,编辑框等控件组合使用(ListCtrl controls and under pulls the frame, edits the frame and so on to control a combination to use )
    2004-07-13 11:35:27下载
    积分:1
  • StatusBmp
    vc——在状态栏上显示BMP位图StatusBmp(vc- in the status bar display BMP bitmaps StatusBmp)
    2011-07-30 17:26:40下载
    积分:1
  • ImageView
    利用BAYER表抖动显示图象的C++环境下的代码(use bayer table to show images)
    2012-04-16 14:25:17下载
    积分:1
  • A100004403-21497
    dulib 界面编程,方法简单,实现简单,运行简单。(dulib programming interface, simple, simple, simple operation.)
    2013-07-04 15:15:49下载
    积分:1
  • tubiaotuodong
    说明:  一个用vc编写的创建拖放时使用的图标源代码,可用鼠标进行图标的的拖动。(Vc prepared with the creation of a drag and drop the icon to use the source code, available dragging the mouse icon.)
    2010-04-23 10:46:25下载
    积分:1
  • tanchushicaidan
    用 Visual C++.Net (VC.net) 编写的如何创建一个 弹出式菜单 的演示程序,在Visual C++.Net 2003下运行正常。程序很简单,注释详细。为初学者学习交流使用。有需要的朋友可以下载看看!(Using Visual C . Net (VC.net) prepared in how to create a pop-up menu of the demo program in Visual C . Net 2003 to run normal. The procedure is simple and detailed notes. Learn to use for beginners. In need of a friend can download to see!)
    2009-01-20 20:20:15下载
    积分:1
  • 5467897654
    窗体置顶、置后与常规模式显示的VB实例,有需要的下。(After the form is placed at the top, with regular pattern shows VB examples, in need.)
    2013-09-02 10:02:52下载
    积分:1
  • VBform
    vb教程,窗体源码和vb的编程环境,可以学习一下思想(vb tutorial, opengl programming environment and vb)
    2013-06-16 01:05:20下载
    积分:1
  • vbyinyue
    vb调用背景音乐,无音乐文件,实现调用内存来播放音乐(vb call background music, no music files)
    2011-09-28 16:38:02下载
    积分:1
  • VPNClient
    软件名称:VPN客户端软件 版本号:1.0 开发环境:VS2010 开发语言:C++ 功能描述: 1、一键式创建VPN连接 2、自动选择VPN类型(PPTP、L2TP、SSTP、IKEv2) 3、断线重拨 *完美支持WINXP、WIN7、WIN2003 *采用SkinH做界面,看上去很帅。 ————————–华丽的分割线————————————————- 网上有很多VPN客户端源代码,但是普遍存在问题,例如在WINXP下运行正常,但是到WIN7下就会报错,各种问题层出不穷,所以我对代码进行了改良。(Software Name: VPN client software version number: 1.0 development environment: VS2010 development languages: C++ Description: 1, one button to create a VPN connection 2, automatically select the type of VPN (PPTP, L2TP, SSTP, IKEv2) 3, reconnection dial* perfect support WINXP, WIN7, WIN2003* using SkinH do interface looks very handsome.--------- Gorgeous split line----------------- There are many online VPN client source code, but common problems, such as running under normal WINXP But the next error will WIN7 various problems emerging, so I modified the code of the.)
    2014-06-19 11:28:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载