搜索资源列表
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.
xuhanshu
- 利用多态性可以设计和实现一个易于扩展的系统。在C++程序设计中,多态性是指具有不同功能的函数可以用同一个函数名,这样就可以用一个函数名调用不同内容的函数。 -The use of polymorphism can design and implement a scalable system. In C++ programming, polymorphism refers to a function with different functions can use the same funct
wages
- 用C++写的一个工资管理系统主要对对C++类的继承派生以及多态性的应用-Mainly on the C++ class inheritance and polymorphism of the application using C++ to write a salary management system
Test
- C++多态实现例子,虚基类的使用,以及资源释放-C++ achieve polymorphism example, the use of virtual base class, and resource release
test
- C++中多态编程,继承与组合的区别,帮助深刻理解面向对象思想-Polymorphism in C++ programming, the difference between inheritance and composition, a deep understanding of object-oriented thinking to help