Hierechy

Answered

I am trying to use base class TexBox and derived class Widget but am unable to don so as 

Class Widget: public: TexrBox. Here TextBox is not recognised. How to create this heirechy. I tried Carl+ alt+H but no solution.  

Please do help me

 

0
1 comment

Hello!

In general the syntax is the following (see https://en.cppreference.com/w/cpp/language/derived_class):

class A {};
class B : public A {};
0

Please sign in to leave a comment.