A
Angus
I am experimenting with polymorphism and have a list of polymorphic
objects. I want to be able to print out the list of objects. How do
I do this?
Do I need to implement eg an GetName member function? Or is there an
inbiult way to print? Eg some way to convert an object to a string
name?
objects. I want to be able to print out the list of objects. How do
I do this?
Do I need to implement eg an GetName member function? Or is there an
inbiult way to print? Eg some way to convert an object to a string
name?