0
#include <stdafx.h>

i checked error C1083: Cannot open include file: 'stdafx.h': No such file or directory in VS 2005 but it still didn't help. im using precompiled headers. Usually i start out with a template ive saved for myself. that has all the headers i like, and in the past the include has worked. Also i would attach code, but its not allowing me to access it on any proj at all. even a simple hello world.

Community
  • 1
  • 1
TerraPhase
  • 16
  • 6

1 Answers1

0

Try #include "stdafx.h".

This will change the way the compiler looks for the header - namely, it will check the local directory.

Here is the SO question for further reference.

Community
  • 1
  • 1
Ap31
  • 3,244
  • 1
  • 18
  • 25