(Click here for a personal note from Marshall Cline.)
/ FAQ 19.1
Is inheritance important to C++?
When would I use inheritance?
How do you express inheritance in C++?
Is it OK to convert a pointer from a derived class to its base class?
What's the difference between
Why can't my derived class access
things from my base class?
How can I protect derived classes from breaking when I change the internal parts of the base class?
Protected data vs. private data with protected access functions?
Okay, so exactly how should I decide whether to build a "
E-mail the author
About the author
Revised Jul 4, 2012
[19.1] Is inheritance important to C++?
Inheritance is what separates abstract data type (ADT) programming from OO programming.