Contents Up << >>

Inheritance: Access rules

Why can't my derived class access "private" things from my base class?
What's the difference between "public:", "private:", and "protected:"?
How can I protect subclasses from breaking when I change internal parts?