搜索资源列表
duolei
- 掌握类的继承与派生; (2)学会类的虚拟继承避免多重派生的歧义性; (3)掌握通过虚函数实现多态性的方法; (4)掌握动态绑定的技术。 -(1) master class, inheritance and derived (2) Institute of the virtual class inheritance to avoid the ambiguity of multiple derived (3) c
xu1
- cpp演示程序,虚函数基础程序展示,对于大学C++语言学习,有重要作用-cpp demo program, virtual function-based programs show, for the University of C++ language learning, play an important role
multipleinheritance
- vc++中多重继承的教学例子,是介绍虚基类、抽象类、及虚函数的很好的例子-in vc++ multiple inheritance of teaching examples, is to introduce the virtual base class, abstract class, and a good example of virtual functions
ThinkC
- 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章,内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。-Author of this book to learn C++ bas
virtual
- 用c++实现虚函数和多态性质,对于初学者很有帮助。-Using c++ virtual functions and polymorphism to achieve quality, helpful for beginners.
lei
- 基于point为基类的点—圆—圆柱体类的层次结构的改写,在程序中使用虚函数和抽象基类。类的层次结构的顶层是抽象基类Shape(形状)。Point(点), Circle(圆), Cylinder(圆柱体)都是Shape类的直接派生类和间接派生类。-Point for the base class based on points- round- cylinder class hierarchy rewritten, in a program
xunishixian
- 虚函数实现动态多态性,设计一个类CShape,并在CShape的基础上有继承类圆CCircle、矩形CRect和椭圆CEll。-Virtual functions to achieve dynamic polymorphism, to design a class CShape, and CShape the basis of a derived class round CCircle, rectangular and oval CRe
shape
- Shape成为一个包含接口(供层次结构中的类使用)的抽象基类。从类Shape派生出二维形状类TwoDimensionalShape和三维形状类ThreeDimensionalShape,它们也都是抽象类,然后用虚函数print输出每个类的类型和维数。为了计算类层次结构中每个具体类的对象,这两个类中还要包括虚函数area和volume。最后再编写一个程序测试类Shape的层次结构-Shape into a contained interf
lab_8
- 1.定义Point类,有坐标_x,_y两个成员变量;对Point类重载“ ++”(自增)、“--”自减运算符,实现对坐标值的改变 2.定义一个车(vechical)基类,有Run。Stop等成员函数,由此派生出自行车(bicycle)类,汽车(motorcar)类,从bicycle和motorcar派生出摩托车(motorcycle)类,他们都有Run,Stop等成员函数。观察虚函数的作用 3.对实验六中的people,类重
shape
- 用C++实现一个具体事例,形状作为基类,正方形,三角形等等作为派生类。来体现类的多态性,其中涉及多态,继承,虚函数的使用。-using a C++ example to illustrate polymorphism, virtual function and etc. The example has a base class of shape, and many concrete shapes as derived classes.
200751112499982_136Z_Com
- 在Winsock i/o 模型中CPIO无疑是性能最好的,当然高性能是耗费系统可观的资源作代价的,在多连接和高数据吞吐率方面要求高的应用中才会用此模型,所以我认为不要盲目地使用此模型。 在具体应用中只要继承此类然后重写其中的几个虚函数即可,要注意的几点是:1,CPIO用到多线称,所以对有些资源必须同步2,在数据收发当中会平凡分配和释放内存资源,这种平凡的资源分配和释放回消耗系统一定的资源,所以可以用一种方法尽量减少这种操作,
xuhanshu
- C++虚函数的应用举例,以及一些虚函数的特点分析及注意事项-C++ virtual function of the application examples, and some characteristics of virtual functions and Notes
5
- 应用多态设计学生类,了解基类成员在派生类中的访问控制,了解虚函数对多态性的支持。 -Application of design of students, understand the base class members in a derived class of access control, understanding of polymorphism virtual function of support.
duotaixingyuxuhanshu
- 多态性与虚函数多个程序对C++初学者有很大帮助-Polymorphism and virtual functions more programs on C++ very helpful for beginners
Cpp
- c++实验 主要介绍了一些虚函数的内容,觉得有用可以下载-C++study
threshold
- 恒虚警门限求解,其中包括该程序所要调用的两个函数-CFAR threshold solution, including the procedure to call the two functions
main
- 实现复数的四则运算,还有重载和派生,另外还有虚函数-To achieve the plural arithmetic
gd
- 自己建立一个基于MFC的程序,并能对鼠标左键单击操作进行响应(弹出消息框)。 在程序编写过程中注意以下几点: (1) 建立工程的类型(Win32 Application)及需要包含的头文件(afxwin.h) (2) 从CWinApp派生自己应用程序类,从Cfr a meWnd派生自己框架窗口类 (3) 注意程序的构建过程:从应用程序类对象开始,调用基类构造函数,在其中调用InitInstance(),因其为虚函数
jicheng
- 掌握类的继承与派生; 学会类的虚拟继承避免多重派生的歧义性; 掌握通过虚函数实现多态性的方法; 掌握动态绑定的技术。 -Master class, inheritance and derived Institute of class to avoid multiple virtual inheritance derived ambiguity control through virtual functions to
purevirtualfunctions
- 运算符重载以及利用纯虚函数实现多态性设计一个计算图形面积的类库-Operator overloading and the use of pure virtual functions to achieve polymorphism in the area to design a graphics library computing