• Advertisement

Archived

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

stdafx

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

Anyone ever use those things? and what the hell are they for? i always use an empty project so i don''t have to undefine those things!

Share this post


Link to post
Share on other sites
Advertisement
It''s for use with precompiled headers (see MSDN for more info on those). Properly used, it can speed up compilation by an incredible amount; my game engine went from 5 minutes to compile, to 30 seconds.


"Sneftel is correct, if rather vulgar." --Flarelocke

Share this post


Link to post
Share on other sites
Note that you can call the precompiled header anything you want. It doesn''t have to be stdafx.h... but in order to easily share code between projects it''s just simpler to leave it as stdafx.h.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
delete them you don''t need them unless you use microsoft''s compiler.

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
delete them you don''t need them unless you use microsoft''s compiler.

They wouldn''t show up in his non-empty projects if he weren''t.


"Sneftel is correct, if rather vulgar." --Flarelocke

Share this post


Link to post
Share on other sites

  • Advertisement