Date: Tue, 2 Sep 1997 19:58:45 -0700 (PDT) Message-Id: <199709030258.TAA10295@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Faust" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Please Help!!! Im really stuck on this and the FAQs not helping Precedence: bulk Try this: use `gcc -v' to compile and look at its list of search paths. I would guess that the path containing iostream.h will not be on it. This would most likely be because your DJGPP environment variable is not set correctly. Read about it in the README.1ST file. Also make sure your DJGPP.ENV file isn't corrupt, perhaps replace it with the distributed one. At 11:14 9/1/1997 -0000, Faust wrote: >Ive read thru the FAQ, and its not helping me with my problem. Ive tried >everything its said to but none has worked. > >Also, Ive downloaded all zips needed for C++ and I have the iostream.h > >The program is a simple "Hello World" that looks like this: > >----------- >#include > >int main() >{ > cout << "Hello World!\n"; > return 0; >} >----------- > >Every time I run gcc it says : > >----------- >hello.cpp:1: iostream.h: No Such File or Directory (ENOENT) >----------- > >Ive also tried removing the "#include " line and it says: > >----------- >hello.cpp: In Function 'int main()': >hello.cpp:3: 'cout' undeclared (first use this function) >hello.cpp:3: (Each undeclared identifier is reported only once >hello.cpp:3: for each function it appears in.) >----------- > >Anyone know what my problem is? Ive spent forever trying to figure it out... Nate Eldredge eldredge AT ap DOT net