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).

See Also

Reference

Compiler Options

Other Resources

C/C++ Building Reference