登录
首页 » Visual C++ » MFC

MFC

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

  • Text_CTreeBT
    一个MFC的属性控件类~~~封装了一些对树形控件的基本操作~~(MFC controls the properties of a type ~ ~ ~ Packaging, some of the basic operation of the control tree ~ ~)
    2009-05-11 09:27:17下载
    积分:1
  • 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
  • MFC
    在利用MFC编程时,需要了解MFC的运行顺序(When using MFC, we need to know its sequence.)
    2012-02-27 19:20:40下载
    积分:1
  • VB6-FormatCode
    VB代码格式化工具,本人基于原网络格式化插件源码修改,添加图形界面,可调整任意缩进字符数目…… 本人一直在用!(VB code formatting tools, I formatted the original network-based plug-in source code to modify, add graphical interface, you can adjust any number of characters ...... I indent been in use!)
    2020-10-16 20:47:28下载
    积分: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
  • 5734527476
    VB保存窗体退出时的大小,具有记忆功能.(VB saved when exiting the size of the form, with memory function.)
    2013-07-25 07:17:03下载
    积分:1
  • DragViewEdit
    vc 实现拖放文件到视图窗口DragViewEdit的程序源码,希望对大家有所帮助(vc drag and drop files to the view window DragViewEdit the program source code, we hope to help)
    2011-07-10 10:35:37下载
    积分:1
  • WTL4MFC5_demo
    Windows 编程,WTL源代码,这里有一些简单的从网上Down的代码。(Windows programming, WTL source code, here are some simple code from the Internet Down.)
    2009-01-20 11:33:54下载
    积分:1
  • dlgBg00
    说明:  一个很好的对话框界面的例子,告诉你怎样设置一个位图作为对话框的的背景图片,不过要注意必须是picture的Tab顺序为1才能使其他控件不被覆盖。(a good example of the dialog interface, tell you how to set up a bitmap as a dialog of the background image, but to the attention of the picture must be the order of a Tab other controls can not be overwritten.)
    2005-09-13 09:54:26下载
    积分:1
  • LinerLayout
    VB版的布局控件,可以像其他高级语言一样布局了,这只是一个简单的例子,可以继续完善(VB version of the layout of the control, you can be like other high-level language layout, this is just a simple example, you can continue to improve)
    2015-12-17 22:04:36下载
    积分:1
  • 696522资源总数
  • 104040会员总数
  • 35今日下载