delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/28/23:32:42

Sender: nate AT cartsys DOT com
Message-ID: <3637FD10.144E34C0@cartsys.com>
Date: Wed, 28 Oct 1998 21:28:48 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: #include ????
References: <71867m$koh$1 AT nnrp1 DOT dejanews DOT com>
Reply-To: djgpp AT delorie DOT com

alien147 AT my-dejanews DOT com wrote:
> 
> I use
> gxx test.c -o test.exe
>            or
> g++ test.c -o test.exe
> to compile the following code:
> 
> #include <iostream.h>
> int main()
> {
> cout << "Hello World!\n";
> return o;
        ^^^ I assume you mean "0" (zero).  Is that a typo?
> }
> 
> and it get the following message:
> 
> In file included from test.c:1: c:/djgpp/lang/cxx/iostream.h:31: streambuf.h:
> No such file or directory [ENOENT]
> 
> What is wrong? And what can I do?

Probably, you need to add "SET LFN=Y" to AUTOEXEC.BAT.  See FAQ section
8.2.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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