搜索资源列表
Chapt-13
- 多态性与虚函数-polymorphism and virtual function
多态性工资系统
- 一个多态性工资系统的C++代码,其中可以计算公司各个职员的工资消费情况-They are the sound codes of a muti-modality payoff system which present the state of personnel consumption.
share2
- 利用虚函数实现多态性求四种几何图形的面积和,The use of virtual function polymorphism in order to realize the size and geometry of four
jicheng
- 掌握类的继承与派生; 学会类的虚拟继承避免多重派生的歧义性; 掌握通过虚函数实现多态性的方法; 掌握动态绑定的技术。 -Master class, inheritance and derived Institute of class to avoid multiple virtual inheritance derived ambiguity control through virtual functions to achieve polymorphism method m
C_Polymorphism_instance
- C#多态性实例,向基类构造函数传递参数C # Polymorphism instance, the base class constructor to pass parameters-C# Polymorphism instance, the base class constructor to pass parameters
Lab07
- (1) 创建一组相关类:第二个类响应第一个类的事件,第三个类又响应第二个类的事件。当第一个类的对象发生指定事件时,将引发一系列对象的连锁反应。 (2) 创建学生类Student及其派生类Undergraduate和Graduate,并在Windows窗体中显示不同类型的学生信息。 (3) 模拟银行卡支付系统,定义支付接口IPayable,在基类BankCard中实现基本支付功能;在派生类中重载基类方法,实现支付功能的多态性。 -(1) create a set of related
ComputerInfo.tar
- 电脑信息显示的简单程序,主要体现多态性,以及对象的序列化。-A simple computer program information display, mainly polymorphism, and object serialization.
leijicheng
- 应用多继承中虚拟基类的应用,掌握虚拟函数在多态性中的应用,掌握虚函数、纯虚函数、抽象类的概念,并能应用抽象类解决实际问题。-The application of multiple inheritance in virtual base class to master virtual function polymorphism in the master virtual function, the concept of pure virtual functions, abstract classe
a
- C#多态性实例,向基类构造函数传递参数 -
8.1
- 对point类实现自增和自减来观察多态性的应用及其作用-Class implementation for point increment
UseDuoTai
- 多态性是通过在子类中重写基类的虚方法和成员函数实现的,该程序说明了如何实现多态性-Polymorphism is the base class by overriding virtual methods and member functions implemented in a subclass of the program shows how to implement polymorphism
CPPbiaomianjitijijisuan
- 计算正方体、球体和圆柱体的表面积及体积。要求写出主程序,应用C++的多态性,分别计算边长为6.0的正方体、半径为5.0的球体,以及半径为5.0和高为6.0的圆柱体的表面积-Calculating surface area and volume of the cube, sphere and cylinder. Asked to write the main program, the application of c++ polymorphism, side length are calculat