VC++ and window.h

Aug 1, 2008 at 4:52pm
Hail people, please help a poor newbie... ;D

I'm really new in C++, although I do have experience in PHP.

I'm using the Visual Studio 2005 Professionl Edition to compile a really simple project... Only a file.cpp with one line inside:

#include <window>
or
#include <window.h>

An example from SourceCode section (Winnie exemple) uses this include, but I'm having a trouble with the window.h:

fatal error C1083: Cannot open include file: 'window': No such file or directory

Well, I was searching trough Google and found out a solution (that doesn't work), that is check the "Ignore Standard Include Path". Both (yes or no) don't solve the problem...
In fact, the window.h even exists in my VC++ folder, anywere...

So, what should I do to complile that so simple exemple?

EDITED: Dev-C++ produce the same error... =/
Last edited on Aug 1, 2008 at 5:51pm
Aug 1, 2008 at 6:13pm
#include <windows.h>

=)

Last edited on Aug 1, 2008 at 6:13pm
Aug 1, 2008 at 6:18pm
Somebody here have a hole where I can put my head inside?

Thank you Mikeb570... =D
Aug 1, 2008 at 6:20pm
No problem.
Topic archived. No new replies allowed.