登录
首页 » Visual C++ » MFC

MFC

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

  • Draw
    说明:  改程序可画一个扇形(MFC) 改程序可画一个扇形(MFC) 改程序可画一个扇形(MFC)(The program is to draw a sector)
    2011-03-08 20:22:11下载
    积分:1
  • XGraph二维曲线图
    二维曲线的实现方法,用来画二维曲线 输入XY坐标即可以得到曲线图型(two-dimensional curve of the method used to draw two-dimensional curve that is the importation of XY coordinates can be curve-)
    2005-07-04 09:46:07下载
    积分:1
  • HammingWindow
    汉明窗代码,C代码,很有用的代码,我自己编写的,很好很强大!(Hamming window code, C code, very useful code, what I have written, very very powerful!)
    2013-04-24 13:55:04下载
    积分:1
  • FaceControl3
    动态设置主框架窗口的图标FaceControl3FaceControl3.rar,很不错的vc源码,希望对大家有所帮助。(Dynamically set the icon for the main frame window FaceControl3 FaceControl3.rar, very good vc source code, we want to help.)
    2011-09-30 21:12:55下载
    积分:1
  • PLAYER
    播放器,能播放几种格式的播放器,只是界面比较简单,(Player, can play several formats player, but the interface is relatively simple,)
    2007-12-10 12:51:07下载
    积分:1
  • TGP
    使用QT模仿TGP腾讯游戏平台,界面使用布局完成,可以拉伸收缩对话框,自绘tablewidget和listwidget,pushbutton,menu等功能,还有托盘,与原界面基本相似。( Use QT imitate TGP Tencent gaming platform, use the interface layout is complete, you can stretch shrink the dialog, since the painting tablewidget and listwidget, pushbutton, menu and other functions, as well as trays, with substantially similar to the original interface.)
    2016-09-10 18:11:46下载
    积分:1
  • XMP
    C++ duilib 模仿迅雷的界面还有功能(C++ duilib mimic the interface)
    2014-11-10 18:00:35下载
    积分:1
  • MFCleikuxiangjie
    MFC类库详解,编写MFC程序时很有用的资料(Useful information in the MFC class library Detailed writing MFC program)
    2012-05-10 09:15:04下载
    积分:1
  • visa
    一个简单的数据挖掘程序,有贝叶斯方法和bp算法,还有决策数的简单实现。(a simple data mining procedures, it bp Bayesian methods and algorithms, the number of decision-making there are simple to achieve.)
    2006-06-02 21:36:56下载
    积分:1
  • DCM2JPG
    Convert DCM to JPG. It is wriiten by C++. It is very suitable for junior.
    2016-04-13 14:47:10下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载