登录
首页 » Visual C++ » MFC

MFC

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

  • SplitterView
    分隔视图的例子。如何使用 CSplitterWnd 类。(separated View examples. How to use CSplitterWnd category.)
    2006-06-05 21:28:22下载
    积分:1
  • VCexample
    一种应用VC爱好者对树形控件的理解的应用(An application for tree lovers VC understanding of application controls)
    2008-07-29 20:40:21下载
    积分:1
  • VBSlider
    VB 6.0 做的SLIDER滑块,不用再使用微软那么大一个OCX了,这个是全部代码生成,不用OCX(VB 6 to do the SLIDER slider, no longer use Microsoft so big a OCX, this is all code generation, no OCX)
    2015-12-09 08:17:34下载
    积分:1
  • RegSaver_src
    A GUI that Save or Restore Registry Keys.(Save or Restore Registry Keys.)
    2006-11-27 17:27:56下载
    积分:1
  • 11
    说明:  一个组合框的例子 Visual C++6.0(Example of a combo box Visual C++6.0)
    2010-05-28 15:56:07下载
    积分:1
  • clock
    系统主要实现时间的显示,主要包括获取系统时间然后通过时钟的模拟界面进行时间的显示。(System main time display, including access to the system time and then displays the time by the clock of the analog interface.)
    2013-11-30 12:04:57下载
    积分:1
  • 1-20
    vc灵感编程范例源代码 01 菜单加速键 02 动态创建菜单 03 位图菜单项 04 制作鼠标右键弹出的菜单 05 给系统菜单添加菜单项 06 模式对话框 07 无模式对话框 08 AfxMessageBox的使用 09 基于对话框的应用程序 10 改变对话框的背景色 11 滚动轴的使用 12 隐藏任务栏 13 限制窗口大小的改变 14 创建不规则窗口 15 透明窗口 16 一个总在最上的紫色窗口 17 使窗口居中显示 18 拖非标题栏移动窗口 19 拆分窗口 20 自动停靠窗口(vc inspiration source code programming examples accelerated 01 menu button to create dynamic menu 02 03 04 menu items map system with the right mouse button for the pop-up menu of 05 added to the system menu mode menu items 06 07 modeless dialog box 08 A. fxMessageBox 09 based on the use of dialog 10 applications to change the background color dialog 11 the use of the rolling axis 12 13 hidden task bar window size limit of 14 changes to create irregular window transparent window 15 1 six in a total of the top 17 purple window so that the window of 18 middle-trailers moving window title bar window 20 19 Resolution automatic call window)
    2004-07-22 03:11:11下载
    积分:1
  • 01205skin-source
    用VC写的关于皮肤的程序框架,很好用,可以直接修改.(Written with the VC on the skin of the procedural framework, useful, can be directly modified.)
    2010-07-22 23:34:06下载
    积分:1
  • MFCDraw
    MFC 画图程序 包括了所有画图的功能! 里面包括了源代码,相当好用!(MFC Paint program to include all the functions of drawing! Which includes source code, very easy to use!)
    2020-11-19 10:09:37下载
    积分:1
  • ClrGradientPrgssCtrl
    vc 颜色渐变进度条ClrGradientPrgssCtrl 的程序源码,很不错的demo(vc color gradient progress bar ClrGradientPrgssCtrl the program source code, very good demo)
    2011-06-29 23:21:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载