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
3 replies to this topic
Ad:
#3 Moderators - Reputation: 6622
Posted 13 December 2012 - 11:47 AM
You might want to look at this way back machine article that jpetrie wrote about master headers.






