+8  A: 

If you're asking whether you can make private members visible to derived classes, the answer is no - that's why they are private. Use protected members in the base class if you want derived classes to be able to access them.

casablanca
thank you very much
Alan
@Alan: If you feel this answer has resolved your question, please click the checkmark next to it.
greyfade
+1  A: 

If you could inherit private members, then all you would have to do to access something private would be to inherit items from a parent class.

Bruce
That's an important part of encapsulation. The same for protected members really - if they're protected, someone just has to inherit to get access to them, so they might as well be public. If you would never write a class with public member variables, why would you write one with protected?
tenpn