iterator troubles


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by Ben DeVane on April 19, 2001 at 18:27:47:

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?


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]