Comments: Authenticated sender is From: "George Foot" To: Meola111 AT aol DOT com Date: Fri, 28 Aug 1998 18:39:28 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: RHIDE and iostream.h Reply-to: george DOT foot AT merton DOT oxford DOT ac DOT uk CC: djgpp AT delorie DOT com Message-Id: Precedence: bulk On 27 Aug 98 at 22:04, Meola111 AT aol DOT com wrote: > [HELLO.C] > #include > #include > > int main() > {printf("Hello World"); > return 0;} > > When i type the previous code in i get an error like so: > Hello.c(1)Error: can't find file iostream.h > > Why doesnt RHIDE find iostream.h even though its in D:/DJGPP/include folder? iostream.h is a C++ header file. Last time I used a C++ compiler (v2.7.2.1) the C++ header files were not stored in the `include' directory. They're stored elsewhere and to access them you must be doing a C++ compilation; that means either renaming the file to "hello.cc" or "hello.cpp", or specifying explicitly what language it is in with a command line switch to gcc (RHIDE probably supports this but I don't know how). -- george DOT foot AT merton DOT oxford DOT ac DOT uk