Jump to content
  • Advertisement
Sign in to follow this  
TaSeCo

Code organization question

This topic is 4252 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

I have a simple question about code organization in visual C++ 2005. I have a solution for my game, which consists of several projects. In one of these projects, I use an external library which has alot (about 50) header files. While developing, I want to be able to quickly open up some of these headers to find some definition. Would you add all these headers as header files of your project? Should I create another project that has all the headers? What is the usual method to handle this?

Share this post


Link to post
Share on other sites
Advertisement
You should be able to just place the cursor over your include directive right-click and select "Open This Document" from the popup menu. Personally, I wouldn't bother adding the headers to your project unless you also plan to modify them.

Cheers,
Pat.

Share this post


Link to post
Share on other sites
I second darookie's opinion, don't include the headers unless you are building the external library yourself. The "Open This Document" works perfectly for me.

For this kind of thing I really love Visual Assist X (from Whole Tomato). It does all the things you wanted to do with IntelliSense, but never could.

Share this post


Link to post
Share on other sites
Why not create a seperate folder, and put the header files in there, especially if you are accessing the files alot? This way, you can collapse the folder, and not have it take up much space.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!