Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!


Header Organization Advice please ?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 mrhodes   Members   -  Reputation: 359

Like
0Likes
Like

Posted 13 December 2012 - 11:38 AM

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
Michael RhodesTiger Studios Web Designhttp://tigerstudios.net

Sponsor:

#2 fastcall22   Crossbones+   -  Reputation: 6232

Like
0Likes
Like

Posted 13 December 2012 - 11:44 AM

It's dangerous to go alone.
Take this!
gzip: H4sIAAAAAAAEAG1QTUvEMBC991e8nvaiFfYoS7yo sLCo6MnjtJ1ugmkiyWRL/72z3T1YEQIJ8z4zA2Xp yPvt1qBpGrRFIJZkk9FyRyUzHCbKIHgn4hnZOrm1 TD0mG0HCCs+QGDGWziKXI6Wm2n++GYwUVH2mrGEE PnGCVQ8K8+JYfXA6URDEQfMZh5h6g5eoAlWJdeEI bbH2qYZf7XMUfw8f/Q0oMeZYNL9/WHF0uFEshvMr XYujd9SycFb+F18QcSOvlJauZ8ejqevdnV7/d550 e0t6prmunh73Bu+vz4c/XUeOQXfJgvKNkhf95U8/ Dtgmy5IBAAA=

#3 SiCrane   Moderators   -  Reputation: 10844

Like
1Likes
Like

Posted 13 December 2012 - 11:47 AM

You might want to look at this way back machine article that jpetrie wrote about master headers.

#4 mrhodes   Members   -  Reputation: 359

Like
0Likes
Like

Posted 13 December 2012 - 12:11 PM

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
Michael RhodesTiger Studios Web Designhttp://tigerstudios.net




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS