登录
首页 » Visual C++ » MFC

MFC

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

  • HammingWindow
    汉明窗代码,C代码,很有用的代码,我自己编写的,很好很强大!(Hamming window code, C code, very useful code, what I have written, very very powerful!)
    2013-04-24 13:55:04下载
    积分:1
  • TabStrip
    VB中的窗体选项卡(Tab),有需要的就下载吧。(In VB Forms tab (Tab), there is a need to download it.)
    2013-08-27 15:33:38下载
    积分:1
  • testprog
    一个简单好用的进度条例子程序 vc++开发 可以在此基础上增加自绘功能(An easy-to-use progress Ordinance the subroutine vc++ development to increase self-drawn on this basis)
    2012-08-07 16:25:25下载
    积分:1
  • vb6
    VB与软PLC数据交换的例程,很难的的。(VB and soft PLC data exchange routines, it is difficult for the.)
    2008-06-30 07:27:30下载
    积分:1
  • pc
    说明:  智能家居用户界面,漂亮的用户操作界面,灯光控制,( Smart home user interface)
    2014-06-23 16:45:12下载
    积分:1
  • MarchingCubes
    VTK实验程序,利用VTK开源库实现Marching Cubes等值面提取算法,程序中可修改等值面参数,交互界面实现物体的旋转、缩放,数据文件在工程目录下(VTK experimental procedures, the use of open-source library implementation VTK Marching Cubes isosurface extraction algorithm, the program can be modified isosurface parameters, interactive interface to achieve the object rotation, scaling, data files in the project directory)
    2021-04-03 21:19:05下载
    积分:1
  • DataStream2005
    用VC。NET2005实现的数据流图编辑程序,实现不同图形的绘制、移动和编辑等功能。(VC.NET2005 achieve the data flow diagram editing procedures, different graphics rendering, mobile and editing functions.)
    2007-04-11 21:17:46下载
    积分:1
  • DigtalRecognizitionProgram
    说明:  没有密码的,请放心现在参考,为了大家的方便,同时也为了自己的方便,我就发了(no password, please rest assured now refer to everyone's convenience, but also for their own convenience, and I made a)
    2006-05-03 21:18:07下载
    积分:1
  • 0123
    说明:  这个程序可以将位图图标放置在菜单中,代码比较简单(This procedure can be placed bitmap icon in the menu, the code is relatively simple)
    2009-08-15 21:47:49下载
    积分:1
  • MenuHook
    VC++利用Hook钩子实现的阴影菜单,不要误认为是Winodws系统自带的阴影菜单,仔细看你就会发现两者是不一样的,一样令人羡慕不已,尤其是使用钩子实现,相信对VC++编程者来说,有空的时候还是要看一下哦!虽然大家对这种效果已经司空见惯了,但实现起来没有想像的那么简单,因此具有参考价值。(VC++ to use the realization of the shadow of hook Hook menu, do not mistakenly think it is the shadow of Winodws own menu system, look carefully and you will find they are not the same, as is envy, especially the use of hooks to achieve, I believe VC++ programmers, the time or the time to look at Oh! Although there have been commonplace this effect, but not as to achieve the so simple, it has a reference value.)
    2009-07-16 21:03:58下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载