how to inherit class

i have a header file that i am not allowed to modify, and the problem is that the vars are protected, so i guess i have to inherit that class, how do i do this, and then, how do i write a constructor (maybe just a basic example and tips?)

this would be the header of the base class...
1
2
3
4
5
class CLL
{
protected:
   char Name[20];
};
I'm sure you'll be fine by just reading this:
http://www.cplusplus.com/doc/tutorial/inheritance/

If you have any further questions, feel free to ask again.
Topic archived. No new replies allowed.