Re: plz help!!!


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

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:

class foo2;

class foo1
{
foo2 *ptr;
}

: 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




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 ]