"unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx." to your source?"

Thank you for this resolution. I noticed that in the newest version of Visual Studio there is no option to create an “Empty Project”

I’ve included a screenshot of what it has when creating a project.