登录
首页 » Visual C++ » MFC

MFC

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

  • 00097567
    动画启动界面,VC++经典编程源码,很好的参考资料。(Animation interface to start, the classic VC++ programming source code, a good reference.)
    2013-11-15 09:29:09下载
    积分:1
  • Skin5.0
    说明:  skin5.0 界面库,很不错的皮肤类,简单的一句代码就可以让你的程序更换皮肤(skin5.0 interface library, it is a good skin type, a simple code can make your skin replacement procedures)
    2009-07-30 20:07:24下载
    积分:1
  • bijingxuan
    用VC6实现的一个超级漂亮的编辑框。可以自己配置编辑框的颜色,美化界面。(A super nice with VC6 edit box. Can configure their own color of the edit box and beautify the interface.)
    2013-04-03 10:07:01下载
    积分:1
  • ShadeBtn_Jan2010_demo
    当时做一个项目时找来的,对其进行了一些改造,用于花样按钮(At that time got from doing a project and to carry out a number of transformation, for the pattern button)
    2010-02-07 14:31:10下载
    积分: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
  • list
    一个关于列表框控件自绘的小程序,点击某项会相应显示输入框或者组合框。(A small program on self-drawn list box control, the click of a corresponding input box or combo box.)
    2013-03-05 15:21:07下载
    积分:1
  • Sy7
    编程实现一个静态切分为左右两个窗口的 MDI 应用程序,并在左视图中统计右视图中 绘制圆的个数,实现文件的保存和读取;左右视图属于不同的视图类(Programming a static cut into about two MDI application window and draw a circle in the right view statistics of the number in the left view, save and read files to achieve views are different views about the class)
    2013-12-31 21:36:25下载
    积分:1
  • TreeCtrl
    树形控件,可以插入头像,利用该控件可以实现类似QQ好友列表的功能(Tree class, it can show img at every item,you can use it to make friends list box like QQ)
    2013-12-09 11:26:32下载
    积分:1
  • TestBrowse
    非常重要的界面编程,很不容易编写出来的代码,可实现美化界面的作用,VC学习的好代码(aa)
    2010-07-15 20:33:15下载
    积分:1
  • electronic-scale
    通过vb编写的一个智能电子秤相对应的界面程序,可以显示是否连接成功、物体质量、是否超重等。(Through vb prepared by an intelligent electronic scales corresponding interface program that can show whether the connection is successful, the mass of the body, are overweight.)
    2013-04-18 19:46:59下载
    积分:1
  • 696524资源总数
  • 103938会员总数
  • 55今日下载