1
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 Vegetal, so that I can build Tree-type objects.
Thanks for the help :)
– PapaOreos