Extending a class of the library

Hi, i am using ProBT library. Now i want to extend the functionality of a class "A" of the library. So, if i declare my class B as a subclass of class A, and when try to access the functions of superclass/parent class then i gives me an error: function xxx : is not a member of "class-B"

So my question is, how i can extend the functionality of a class available in a library?


Can you not just go to the class in the library and just make whatever changes you want, then recompile?
Sorry, i can not do any change in the library.
Did you inherit publicly?
class B : public A

Yes i can do it without any error.
Topic archived. No new replies allowed.