Classes tutorial part 4.
Created by the Programming Ace.
www.UltimateGameProgramming.com


Description:

   The purpose of this tutorial is to perform inheritance.  Inheritance
   is creating a new class (derived class) from another class (base class).
   For example if you had a base class called shape, you can then use inheritance
   to create new classes based on that original like a circle class, triangle class,
   and so on.  So how do you use inheritance?
   Well when you create the derived class, after the name of the class you must type...
   
   class DerivedClass : public BaseClass

   This will give the class DerivedClass everything that the BaseClass
   class had inside of it.  That means that DerivedClass has all functions and
   all variables that the DerivedClass has.


Controls:

   none


Copyright September 2003
All Rights Reserved!
Allen Sherrod
ProgrammingAce@UltimateGameProgramming.com
www.UltimateGameProgramming.com