Home

Submit

Source

Feeds

C and C++ Polymorphism

C and C++ Functions and Classes
Polymorphism
C and C++ / Functions and Classes
Before getting into this section, it is recommended that you have a proper understanding of pointers and class inheritance.

Site: www.cplusplus.com Report - View Tutorial

Related Tutorials
C and C++ Functions and Classes
Polymorphism and Virtual Functions Tutorial + Disassembled Proof
C and C++ / Functions and Classes
This tutorial teaches you Polymorphism which also includes a disassembled listing of a program using virtual functions thoroughly explained.In the end I explain how the compiler implements polymorphism and so knowledge of Assembly Language will be a great help in understanding Polymorphism.

Site: www.programmers-corner.com Report - View Tutorial

C and C++ Functions and Classes
Polymorphism and Abstraction
C and C++ / Functions and Classes
In an inheritance scenario, a parent class is configured to provide its child with the basic foundation the child needs. Although a child can implement a new behavior not available on the parent object, sometimes a child object will need a customized implementation of a behavior that has already been configured with its parent. That is what happens for example when inheriting a sphere from a circle class. Both have a characteristic called Area but the area is calculated differently on each shape.

Site: www.functionx.com Report - View Tutorial

 
Site Search

 
Categories
2D Graphics 3D Graphics Office Applications Databases Desktop Programming Web Development
 
Advertisement