Hi everybody! I´m trying to make this program where i store in a vector different types of derived objects from a single base class. So i declare the vector like this:
vector<BaseClass> vec;
then, assuming that all derived objects are, naturally, base class objects i push a DerivedClass object...