cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/02/23:00:27

Date: Tue, 2 Sep 1997 19:58:45 -0700 (PDT)
Message-Id: <199709030258.TAA10295@adit.ap.net>
Mime-Version: 1.0
To: "Faust" <kmfdm AT technonet DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Please Help!!! Im really stuck on this and the FAQs not
helping

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 <iostream.h>
>
>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 <iostream.h>" 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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019