As I wrote, I would like to place objects of different class types into a single vector. The vector will be of the type of the base class and, as was noted above, the derived classes would place a...
Type: Posts; User: Imanuel
As I wrote, I would like to place objects of different class types into a single vector. The vector will be of the type of the base class and, as was noted above, the derived classes would place a...
If a vector can hold multiple objects of a different type, then how can one distinguish between them?
If it can't, then what is recommended to allow the placement of different object types into a...