Ok.. considering that u r using "public" inheritance.........key word "public" .......
Now, i see you have few questions, so I'll try to give you as much info as i can and I'll try not to confuse you....
Code:
class cBox
{
cBox *Next, *Prev; // Linked list
public:
cBox();
~cBox()
};
class cShoeBox : public cBox
{
public:
cShoeBox();
~cShoeBox()
}
In this example, cShoeBox "inherits" all the PUBLIC assets of the original cBox class, not private but public, there also can be PROTECTED data members of a class however I won't get into this now.
So keeping in mind that all you inherit comes from PUBLIC only, looking at your sample code, the 2 data members are PRIVATE