[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Pre compiled headers

Hi,

I wanted to know the use of the pre-compiled headers (.pch files)

Regrds
shayad
0
shayad
Asked:
shayad
1 Solution
 
allymCommented:
Pre-compiled headers are a tool to help the compiler build your application easily.  

If you have several source files, and these all use a common base of headers, then pch could be useful to you.  

If you only have one source file, or your source files use different headers (gui in some, networking in another, database in another, etc) then there will be little benefit in using pch.  

If your build doesn't take long, then there is little point in configuring pch.  If you get it for free, as part of an application wizard for example, then you might as well take advantage of them.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now