登录
首页 » Visual C++ » MFC

MFC

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

  • 3
    说明:  visual C++的MFC程序,建立对VC的基础性了解(this describes in detail the characteristics of C++ language, basic grammar, and explain with examples)
    2012-12-24 21:56:58下载
    积分:1
  • VBform
    vb教程,窗体源码和vb的编程环境,可以学习一下思想(vb tutorial, opengl programming environment and vb)
    2013-06-16 01:05:20下载
    积分:1
  • WinEditor
    最近做了一个类似Windows画图板的小程序,拿来和大家分享一下。功能和界面全部模仿于Windows自带的画图板,界面如截图。功能主要有: 手绘线、简单图形、文字输入、图块拖放、重复撤销、画面缩放、打开保存图片文件,另外为了直接从数据库或者XML中存取图片,另外还提供了从Base64编码存取图片的接口,其他还实现了和画图板同样效果的工具箱及颜料盒。(Recently to do a similar drawing board a small Windows program, use and share with you. Features and interfaces in Windows, bringing all to imitate the drawing board, such as interface screenshot. The main features include: hand-painted lines, simple graphics, text input, drag and drop block, duplicate revoked, screen zoom, open the Save picture files, the other in order to directly from the database or XML access picture also provides a survival from the Base64 encoding Photos from the interface, the other also drawing board and achieve the same effect toolbox and paint boxes.)
    2009-03-17 11:51:59下载
    积分:1
  • TestGettickcount
    在对话框中,使用VB6获取系统精确时钟数的简单小程序(in the dialog box, use VB6 acquisition system precision clock small number of simple procedures)
    2007-03-14 23:13:53下载
    积分:1
  • involute-gear-drawing
    通过VB编写的简易绘制齿轮渐开线的程序,运用了VB的各种基本控件(Easy draw gear involute program written in VB, the use of a variety of basic controls in VB)
    2012-05-04 09:32:53下载
    积分:1
  • ResizeObj
    控件自适应窗体,包括字体也都能自适应,方便简单(Fit your window!)
    2015-03-26 15:43:40下载
    积分:1
  • QRMaker1.3
    使用控件直接生成,vb二维码生成代码。。(Use the controls directly generate, vb the two-dimensional code generated code.)
    2021-03-10 10:59:27下载
    积分:1
  • study
    车辆传动系扭振分析计算界面软件 扭振VC界面程序代码TVc.zip(Vehicle powertrain torsional vibration analysis of torsional vibration VC interface software program code interface TVc.zip)
    2009-05-16 08:27:01下载
    积分:1
  • VCMulti-Language
    本程序演示了VC++界面程序多语言支持的实现方法: 1.根据用户选择的不同语言,加载不同版本的资源文件,进行切换; 2.同一个VC++界面程序据此支持多种语言。 (This program demonstrates the C++ interface, multi-language support program implementation methods: 1. Depending on the language selected by the user to load a different version of the resource file, switching 2. Same procedure whereby a VC++ interface supports multiple languages.)
    2015-10-16 10:05:34下载
    积分:1
  • MDISplitter
    MDI Spliter Example. this is a vb6.0 MDI Exaple . It Explain how to create a spliter in MDI form
    2009-10-30 19:01:08下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载