Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Creating Precompiled Header Files

Creating Precompiled Header Files

The Microsoft C and C++ compilers provide options for precompiling any C or C++ code, including inline code. Using this performance feature, you can compile a stable body of code, store the compiled state of the code in a file, and, during subsequent compilations, combine the precompiled code with code that is still under development. Each subsequent compilation is faster because the stable code does not need to be recompiled.

This section covers the following precompiled header issues:

For reference information on the compiler options related to precompiled headers, see /Y (Precompiled Headers).

© 2015 Microsoft