...

View Full Version : Whatever I Try..



Redhat
03-02-2003, 05:47 PM
Ok, i'm very interested in learning C++ and totally understand the 'Hello World Program' in C++.

But everytime I try to compile (tried in Dev C++ and lcc win) it says

iostream.h : File Not Found.

I know its a header, but I thought it was one of those built into windows or something ?

Thanx For and help in advance,

Matt

Josh Campbell
03-02-2003, 08:10 PM
iostream.h usually comes with a C++ compiler. I've never used Dev-C++ before but I think they would include that, its a very common header.

And make sure you surround it with < and >, not with quotes when including, since it is a standard header file.

Spookster
03-02-2003, 08:49 PM
Depending on your compiler you should include it as:

#include<iostream>

or

#include<iostream.h>

Phantom
03-02-2003, 09:47 PM
in Dev-C++ (my friend uses it), it's #include <iostream>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum