The doubt is as the title states:
With a class as follow:
class A
{
public:
int a;
int b;
int c;
function1();
function2();
}
and a class B extending A, how to turn public all variables from A?
class B : private A
{
public:
int a; //How to turn this public from A
int b; //How to turn this public from A
int c; //How to turn this public from A
}