With these classes:
class SerVivo {
public:
virtual void funcA() = 0;
virtual void funcB() = 0;
};
class Vegetal : public SerVivo{
public:
virtual void funcB(){ cout << "funcB em Vegetal \n"; }
virtual void funcC() = 0;
};
I wanted to know how I build the Tree class, derived from Vegetable, in order to build Tree-like objects.