CPP Polymorphism and Virtuality

Regarding all zip files for download.

  • All downloadable zip files contains a Microsoft Visual CPP solution with code examples.
  • Needed tools for all examples can be found in the right menu on this page.
Polymorphism in C++ Download
How to create polymorphism with virtual methods VirtualMethods.zip
Using Polymophism Download
How to give Copy Constructor the polymorphic functionality. PolymophismCC.zip
Casting Down Download
How to use Virtuality and Casting Down Downcasting.zip
Create Abstract Classes Download
C++ supports the creation of abstract classes by providing the pure virtual method(s).. AbstractClass.zip
Inheritance and Method Overriding Download
Show how to create Inheritance and what Override methods and what hiding method is. ClassInheritance.zip
Multiple Inheritance Download
C++ supports the possibility to derive a class from more than one base class. This is an example of that including use of Polymorphism MultipleInheritance.zip

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.