• Advertisement
Sign in to follow this  

Header Organization Advice please ?

This topic is 1864 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 am in the beginning stages of making a game, and I am wondering if it is best to have 1 main header that includes all my other headers, or should I only include headers needed for each module I am working on?

I am asking this because I am now noticing that as my project grows any change to my 1 main header causes everything to recompile...

So, any thoughts about this topic that can help ?
I am thinking I should probably just include the headers needed for each class instead of including everything in each class.

Please share any thoughts please...

Michael

Share this post


Link to post
Share on other sites
Advertisement
Thank you very much SiCrane... I read that and it helps a lot.
I have had to reorder headers at times to make things work, and now I understand why :)


Michael

Share this post


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

  • Advertisement