Compile error
fatal error C1010: unexpected end of file while looking for precompiled header directive
This means that the compiler cannot find the precompiled file.
Solution:
1. Cancel the file precompilation
Project——setting——C/C++——Category: Precompiled Header
Select the first item: Not using precompiled headers
2. Help the compiler to find the precompiled
files. Add #include "stdafx.h" at the beginning of the .cpp file