CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Computer Programming (http://www.codingforums.com/forumdisplay.php?f=21)
-   -   Whatever I Try.. (http://www.codingforums.com/showthread.php?t=15606)

Redhat 03-02-2003 04:47 PM

Whatever I Try..
 
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 07: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 07:49 PM

Depending on your compiler you should include it as:

#include<iostream>

or

#include<iostream.h>

Phantom 03-02-2003 08:47 PM

in Dev-C++ (my friend uses it), it's #include <iostream>


All times are GMT +1. The time now is 04:23 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.