登录
首页 » Visual C++ » MFC

MFC

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

  • LineChartControlDemo
    用于机床铣削力建模计算,通过该程序可很好的队铣削力进行预测(Machine Tool Cutting Force Modeling for computing, the adoption of the program can be a very good team to predict milling force)
    2020-12-14 23:39:13下载
    积分:1
  • messge_face
    vc 制作 MSN、QQ 的消息提示窗口 - 源代码(vc making MSN, QQ messages sent to the window- source code)
    2011-07-03 08:50:27下载
    积分:1
  • a
    说明:  静态文本控件典型事例电子计时器,主要根据位图来绘制数字(Typical examples of static text control electronic timer, mainly based on the bitmap to draw the figures)
    2010-12-17 18:18:23下载
    积分:1
  • pzoperty-dual
    分割窗口并动态调整分割区域(类似于Windows中的资源管理器),()
    2018-04-01 08:00:48下载
    积分:1
  • DemoBCGPrj
    一个使用用BCG库创建的demo工程,其中包括工作区,类似于一个小IDE(A use of BCG database created with demo projects, including work area, similar to a small IDE)
    2008-01-25 09:35:12下载
    积分:1
  • ChangeSkin
    界面换肤模块提供两种界面换肤方式。“方案一”文件夹中实现的是加载皮肤文件实现界面换肤,“方案二”文件夹中实现的是加载组件库实现界面换肤。(Skinnable interface module provides two interface skinning methods. "Option One" folder implementation is to achieve load skin file interface skin, "Option Two" folder implementation is to achieve load component library interface skin.)
    2014-07-29 11:28:48下载
    积分:1
  • Documents
    VC++/MFC project that helps learning paint.
    2011-06-30 17:47:16下载
    积分:1
  • Seis1
    对地震数据进行读写,处理等各种操作,很好很强大,自己下了就知道了。(seismic data process)
    2020-11-06 11:49:49下载
    积分:1
  • btokstore
    任务概述 1.目标: 建立完善的网络书店电子商务网站,不错的源码(Summary of task 1. The goal: to establish a perfect network bookstore e-commerce sites, good source)
    2017-04-12 16:20:44下载
    积分: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
  • 696522资源总数
  • 104049会员总数
  • 30今日下载