Date: Tue, 28 Sep 1999 09:42:00 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Rodeo Red cc: djgpp AT delorie DOT com Subject: Re: missing iostream.h In-Reply-To: <330AD756F8BB9CEF.F8637F444EA9E48A.1D40BCFAF804AA35@lp.airnews.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 27 Sep 1999, Rodeo Red wrote: > void main () > { > cout <<"Hello world!\n"; > } > > By the way, which directory should I save this file to ? Does it matter > ? > > When I compile with rhide I get : > error: iostream.h no such file or directory (ENOENT) That's because you call the file hello.c instead of hello.cc or hello.cpp. The compiler thinks it's a C program and doesn't search the C++ include directories. See section 8.4 of the DJGPP FAQ list for more details. > I did a file search for iostream.h and it doesn't seem to be on my > computer. > I looked in C:\djgpp\include and its not there . It should be in C:\djgpp\lang\cxx. If you unzipped gpp281b.zip, it should be there.