Posted by Geoff Zelenka on April 19, 2001 at 22:49:18:
In Reply to: iterator troubles posted by Ben DeVane on April 19, 2001 at 18:27:47:
Remember, your lists are supposed to be of Creature pointers, and not actual Creatures.
: How are we supposed to instatiate iterators of type
: Creature if Creature is an abstract class?
: If we use an iterator of say Plant, then said iterator cannot be set equal to the front of the list because of inheritance issues.
: How are we supposed to get around this? any suggestions?
Post a Followup