Posted by David Longley on April 22, 2001 at 05:08:48:
In Reply to: plz help!!! posted by Heather on April 22, 2001 at 04:38:11:
Did you use forward declarations? I'm guessing not, cuz you would get circular errors if you
included both header files. Forward declarations work like this example:
: I am getting an error that says
: 'Manager' : missing storage-class or type specifiers
: when I try to compile creature.cpp file...and I have included manager.h file in creature.h file,,,and the other way around as well...so the class Manager must be defined in the creature file and there's no typo...
: (It gives me the same error when I try to compile manager.cpp file....)
: So I have no clue why I am getting this error.
: Someone please help,,, I am dying here
Post a Followup