"pch.h" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

"pch.h"

What is "pch.h", why doesn't my code work if I don't include it in "visual studio" and why isn't it even defined in other programs (like "DEV c++" & "Code Blocks")?

5th Oct 2018, 11:08 AM
H2727
H2727 - avatar
1 Answer
+ 4
Visual Studio makes use of a PreCompiled Header (pch) to help speed up the compiling process as the binary symbol table can just be loaded instead of compiling the header files each time they are needed to generate the binary symbol table as all other compilers do it.
6th Oct 2018, 12:41 AM
John Wells
John Wells - avatar