### Precompiled Headers

You can improve compile time by using precompiled headers.

The compiler generates a single precompiled object for the first initial sequence of #include directives. The next time you compile, this single object can be used wherever that initial sequence appears. Since the precompiled object is only used where the context is the same (same language, same beginning sequence of #include directives, compatible options and macro definitions), the object does not have to be reinterpreted every time it is included.

To get the most benefit from precompiled headers, use the same initial sequence of headers wherever possible. The more files that share the intial sequence, the greater the improvement in your compile time. You can further improve compile time by creating more than one initial sequence, so that you are not confined to one context.

Compiler Output
Initial Sequence of Headers
include Files

Create Precompiled Header Files