Jump to content
  • Advertisement

Archived

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

deal

including unused header files......

This topic is 5646 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 directory \VC98\Include\my files this folder contains a number of header files i have a header file, named mytimers.h, this header file includes other header files that contain classes related to time that i have written, and when i want to use one or more of the classes, i just include mytimers.h this method is including header files that i may not actually use, does this result in a larger exe ? im guessing the answer is no, but i just want to check. thanx.

Share this post


Link to post
Share on other sites
Advertisement
Why not do a little expiriment? Add about 5-10 extra header files that are not used, and see if it greatly impacts the size of the binary.

Share this post


Link to post
Share on other sites
seems that unused header file do not increase size.......except iostream which seems to increase a console app exe by 68KB

[edited by - deal on January 30, 2003 3:36:14 AM]

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!