Jump to content
  • Advertisement


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


#include problems

This topic is 5454 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.

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!