Programming Tips - C1083: Cannot open precompiled header file: '(file)': No such file or directory

Date: 2022dec2 Product: MSVC++ Language: C/C++ Q. C1083: Cannot open precompiled header file: '(file)': No such file or directory A. Normally you want: "Precompiled Header: Use /Yu" for the solution/project "Precompiled Header: Create /Yc" for file stdafx.cpp (Newer versions of MSVC++ use a different file name) If you're getting this error these settings are probably not configured. Right click on the project to get its settings Right click on stdafx.cpp to get its settings