CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: stdafx header

  1. #1
    Join Date
    Oct 2009
    Posts
    8

    stdafx header

    could anyone tell me what the header "stdafx.h" does?
    I searched it up but it does not make sense. From what I read, it simply makes your program compiles faster. Correct me if i'm wrong. Thanks

  2. #2
    Join Date
    Feb 2005
    Posts
    2,160

    Re: stdafx header

    It is integral to the use of precompiled headers. It usually contains headers that will never normally change (like all the windows api and stdc++ headers). These will be compiled once and then won't need to be continually recompiled every time you make a minor change and compile your project again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured