Posted by John Kugelman on April 12, 2001 at 19:10:37:
In Reply to: Seperate compilation issues posted by Aaron Faust on April 12, 2001 at 16:52:38:
Aaron Faust wrote:
Is it permissible to have all of the class declarations/definitions for the various creatures inside of one header/source pair? Otherwise there's gonna be a lot of files and a lot of includes to keep track of.
I haven't thought this out yet, but personally my first instinct would be to put the plant class(es) in one header/source pair and the animal classes in another. The animals are all fairly closely related, so there shouldn't be a strong need to separate them all into their own files.
You'd probably also want to separate the abstract base classes from the concrete plant/animal classes.
Post a Followup