Archived

This topic is now archived and is closed to further replies.

#include problems

This topic is 5147 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ive dealt with this problem before, but Ive finally run into a stuation i just cant solve. I have three classes, each class contains an instance of the other two, and the declarations for each class are contained on their own header file. Im getting a slew of "undefined class" "missing storage-class or type-specifiers" errors. What is the proper way to handle these situations.

Share this post


Link to post
Share on other sites
Check out this article.
http://www.gamedev.net/reference/programming/features/orgfiles/default.asp

it does a good job of explaining how to properly organize your files to avoid such problems.

Share this post


Link to post
Share on other sites