: hi,
: iv bin programming in C++ intermittently for a while...i have some programs in C++ 6 which use #include <windows.h> or #include <windows>... they use it to perform console based operation such as clearing the screen, moving to a given console position, etc...im trying out the new C++ express edition for visual studio 2005, but when i move these programs across they come up with the error cannot...
:
: fatal error C1083: Cannot open include file: 'windows': No such file or directory
:
: i checked the include directory and i found that windows.h doesn't exist...does anybody know what replaced windows.h or where i can find information relating to changing this code to make it work now...
:
: i can provide the source code if anyone wants to fix it for me, but i would preferrably like to know how to fix it myself...
:
: thanx in advance
I run VS 2005 and found windows.h in the following folder:
Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include
Although I mainly use C#, I made a VC++ project and noticed the #include "stdafx.h" in the source-files. That probably assures all the necessary includes.
My project compiles fine.
Greets,
Eric Goldstein
http://www.gvh-maatwerk.nl