cannot open source file
stdafx.h
or<stdafx.h>
Yes I understand what precompiled headers are
I have been struggling the past hour trying to get a precompiled header stdafx.h to my project as I'm getting the error:
"cannot open source file "stdafx.h".
I tried the Precompiled Header list under Project/Properties and tried making a new temporary project that other suggestions say to just copy from there, but the only ones I see come in <iostream>
instead
I've read every other solution here and I'm frustrated why its still not working.
In my header file, it says its using stdafx.h
, and I tried both "don't use a precompiled header" and the one I've been suggested through guides. Just want my stdafx.h
in my code to work.
Followed past posts here in the past(latest 2016)
changed precompiled header list and tested/messed with the options following suggestions
Tried creating a temporary file pulling the header from there, it wasn't there.