delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/12/16:08:33

From: "Varis" <varistat AT dlc DOT fi>
To: <djgpp AT delorie DOT com>
Subject: I'm stuck with iostream.h
Date: Sat, 12 Dec 1998 23:05:52 +0200
Message-ID: <01be2613$33751da0$462ac5c3@test>
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_0008_01BE2623.F6FDEDA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Well, my problem is quite simple. I just can=92t get "iostream.h" =
working. It=92s really boring because it=92s the only library which I =
can really use on my programs. I=92m sure that the file IS on my =
computer, but RHIDE will say nasty errors during compiling. Exactly the =
error looks like this:

"Compiling e:\stuff\coding\djgpp\bin\koe.cpp
koe.cpp(1) in file included from koe.cpp:1:
e:\stuff\coding\djgpp\lang\cxx\iostream.h(31) error: streambuf.h: no =
such file or directory (enoent)
there were some errors"=20

So what=92s the problem? I readed the faq and it didn=92t give any clues =
to my problem!
Please help a beginner...

The code i used looked like this:

#include <iostream.h>
void main( )
{
cout << "THIS WONT WORK";
}

Thanks for your help. :-)

----------------------------------Environ =
1st-----------------------------------------------------------

TMP=3DC:\WINDOWS\TEMP
TEMP=3DC:\WINDOWS\TEMP
WINPMT=3D$p$g
winbootdir=3DC:\WINDOWS
COMSPEC=3DC:\WINDOWS\COMMAND.COM
DJGPP=3DE:\STUFF\CODING\DJGPP\DJGPP.ENV
SOUND=3DC:\PROGRA~1\CREATIVE\CTSND
MIDI=3DSYNTH:1 MAP:E MODE:0
SST_SCREENREFRESH=3D60
SST_RGAMMA=3D1.70
SST_GGAMMA=3D1.70
SST_BGAMMA=3D1.70
SST_GRXCLK=3D57
DIRCMD=3D /P /O:GNE
PROMPT=3D$e[s$e[f$e[0;316;41;1m$e[KMocca Cone PrOmPt -- ELiTE Rules =
FoReveR! rAAgA CrAkkAh! $_$e[0;40;37;1m$e[K$e[u$P$G
PATH=3DE:\STUFF\CODING\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\MOUSE\;=
C:\OHJELM~1\WINZIP\;E:\STUFF\OHJELM~1\BC5\BIN\;E:\STUFF\RAAGA\ARJ\=20
windir=3DC:\WINDOWS
BLASTER=3DA220 I5 D1 H5 P330 T6 E620
CMDLINE=3Dgxx -o koe.exe koe.cpp

-------------------------------------------------config.sys--------------=
----------------------------------

device=3Dc:\windows\himem.sys /SHADOWRAM:ON
device=3Dc:\windows\emm386.exe noems I=3DB000-B7FF
devicehigh=3DC:\WINDOWS\COMMAND\display.sys con=3D(ega,,1)
devicehigh=3DC:\windows\setver.exe
devicehigh=3DC:\d91xv340.SYS /D:OEMCD001
devicehigh=3DC:\WINDOWS\Command\Ansi.sys
Country=3D358,850,C:\WINDOWS\COMMAND\country.sys
DOS=3DHIGH,UMB
FILESHIGH=3D30
BUFFERSHIGH=3D30
STACKSHIGH=3D0,0
LASTDRIVEHIGH=3DG

-------------------------------------------Autoexec.bat------------------=
---------------------------------

@ECHO OFF
PATH=3Dc:\mouse\;c:\ohjelm~1\winzip\;e:\stuff\raaga\arj\
SET PATH=3DE:\STUFF\CODING\DJGPP\BIN;%PATH%
SET DJGPP=3DE:\STUFF\CODING\DJGPP\DJGPP.ENV
rem - By Windows 95 Network - C:\WINDOWS\net start
SET SOUND=3DC:\PROGRA~1\CREATIVE\CTSND
SET MIDI=3DSYNTH:1 MAP:E MODE:0
SET BLASTER=3DA220 I5 D1 H5 P330 E620 T6=20
mode con codepage prepare=3D((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=3D850
keyb su,,C:\WINDOWS\COMMAND\keyboard.sys
rem - By Windows Setup - MSCDEX.EXE /D:OEMCD001
SET SST_SCREENREFRESH=3D60
SET SST_RGAMMA=3D1.70
SET SST_GGAMMA=3D1.70
SET SST_BGAMMA=3D1.70
SET SST_GRXCLK=3D57
SET DIRCMD=3D /P /O:GNE
SET WINPMT=3D$e[s$e[f$e[0;316;41;1m$e[KMocca Cone PrOmPt -- ELiTE Rules =
FoReveR! rAAgA CrAkkAh! $_$e[0;40;37;1m$e[K$e[u$P$G
set =
path=3De:\stuff\coding\djgpp\bin;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\MOUSE\;=
C:\OHJELM~1\WINZIP\;E:\STUFF\OHJELM~1\BC5\BIN\;E:\STUFF\RAAGA\ARJ\=20


Tatu Varis
Also known as "Mocca Cone"
e-mail: varistat AT dlc DOT fi


------=_NextPart_000_0008_01BE2623.F6FDEDA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.2016.0"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Well, my problem is =
quite simple. I=20
just can&rsquo;t get &quot;iostream.h&quot; working. It&rsquo;s really =
boring=20
because it&rsquo;s the only library which I can really use on my =
programs.=20
I&rsquo;m sure that the file IS on my computer, but RHIDE will say nasty =
errors=20
during compiling. Exactly the error looks like this:</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>&quot;Compiling=20
e:\stuff\coding\djgpp\bin\koe.cpp</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>koe.cpp(1) in file =
included from=20
koe.cpp:1:</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>e:\stuff\coding\djgpp\lang\cxx\iostream.h(31) error: =
streambuf.h: no such=20
file or directory (enoent)</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>there were some =
errors&quot;=20
</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>So what&rsquo;s the =
problem? I readed=20
the faq and it didn&rsquo;t give any clues to my problem!</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Please help a=20
beginner...</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>The code i used looked =
like=20
this:</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>#include=20
&lt;iostream.h&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>void main( =
)</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>{</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>cout &lt;&lt; =
&quot;THIS WONT=20
WORK&quot;;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>}</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Thanks for your help.=20
:-)</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>----------------------------------Environ=20
1st-----------------------------------------------------------</FONT></DI=
V>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>TMP=3DC:\WINDOWS\TEMP</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>TEMP=3DC:\WINDOWS\TEMP</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>WINPMT=3D$p$g</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>winbootdir=3DC:\WINDOWS</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>COMSPEC=3DC:\WINDOWS\COMMAND.COM</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>DJGPP=3DE:\STUFF\CODING\DJGPP\DJGPP.ENV</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>SOUND=3DC:\PROGRA~1\CREATIVE\CTSND</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>MIDI=3DSYNTH:1 MAP:E=20
MODE:0</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>SST_SCREENREFRESH=3D60</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>SST_RGAMMA=3D1.70</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>SST_GGAMMA=3D1.70</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>SST_BGAMMA=3D1.70</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>SST_GRXCLK=3D57</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>DIRCMD=3D /P =
/O:GNE</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>PROMPT=3D$e[s$e[f$e[0;316;41;1m$e[KMocca Cone PrOmPt -- ELiTE =
Rules=20
FoReveR! rAAgA CrAkkAh! $_$e[0;40;37;1m$e[K$e[u$P$G</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>PATH=3DE:\STUFF\CODING\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C=
:\MOUSE\;C:\OHJELM~1\WINZIP\;E:\STUFF\OHJELM~1\BC5\BIN\;E:\STUFF\RAAGA\AR=
J\=20
</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>windir=3DC:\WINDOWS</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>BLASTER=3DA220 I5 D1 H5 =
P330 T6=20
E620</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>CMDLINE=3Dgxx -o =
koe.exe=20
koe.cpp</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>-------------------------------------------------config.sys-----=
-------------------------------------------</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>device=3Dc:\windows\himem.sys=20
/SHADOWRAM:ON</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>device=3Dc:\windows\emm386.exe noems=20
I=3DB000-B7FF</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>devicehigh=3DC:\WINDOWS\COMMAND\display.sys =
con=3D(ega,,1)</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>devicehigh=3DC:\windows\setver.exe</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>devicehigh=3DC:\d91xv340.SYS=20
/D:OEMCD001</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>devicehigh=3DC:\WINDOWS\Command\Ansi.sys</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>Country=3D358,850,C:\WINDOWS\COMMAND\country.sys</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>DOS=3DHIGH,UMB</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>FILESHIGH=3D30</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>BUFFERSHIGH=3D30</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>STACKSHIGH=3D0,0</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial =
size=3D2>LASTDRIVEHIGH=3DG</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>-------------------------------------------Autoexec.bat---------=
------------------------------------------</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>@ECHO OFF</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>PATH=3Dc:\mouse\;c:\ohjelm~1\winzip\;e:\stuff\raaga\arj\</FONT>&=
nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET=20
PATH=3DE:\STUFF\CODING\DJGPP\BIN;%PATH%</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET=20
DJGPP=3DE:\STUFF\CODING\DJGPP\DJGPP.ENV</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>rem - By Windows 95 =
Network -=20
C:\WINDOWS\net start</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET=20
SOUND=3DC:\PROGRA~1\CREATIVE\CTSND</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET MIDI=3DSYNTH:1 =
MAP:E=20
MODE:0</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET BLASTER=3DA220 I5 =
D1 H5 P330 E620=20
T6 </FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>mode con codepage =
prepare=3D((850)=20
C:\WINDOWS\COMMAND\ega.cpi)</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>mode con codepage=20
select=3D850</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>keyb=20
su,,C:\WINDOWS\COMMAND\keyboard.sys</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>rem - By Windows Setup =
- MSCDEX.EXE=20
/D:OEMCD001</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET =
SST_SCREENREFRESH=3D60</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET =
SST_RGAMMA=3D1.70</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET =
SST_GGAMMA=3D1.70</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET =
SST_BGAMMA=3D1.70</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET =
SST_GRXCLK=3D57</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET DIRCMD=3D /P =
/O:GNE</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>SET=20
WINPMT=3D$e[s$e[f$e[0;316;41;1m$e[KMocca Cone PrOmPt -- ELiTE Rules =
FoReveR! rAAgA=20
CrAkkAh! $_$e[0;40;37;1m$e[K$e[u$P$G</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>set=20
path=3De:\stuff\coding\djgpp\bin;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\MOUSE\;=
C:\OHJELM~1\WINZIP\;E:\STUFF\OHJELM~1\BC5\BIN\;E:\STUFF\RAAGA\ARJ\=20
</FONT></DIV></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Tatu Varis<BR>Also =
known as=20
&quot;Mocca Cone&quot;<BR>e-mail: <A=20
href=3D"mailto:varistat AT dlc DOT fi">varistat AT dlc DOT fi</A><BR></FONT>&nbsp;</DIV=
></BODY></HTML>

------=_NextPart_000_0008_01BE2623.F6FDEDA0--

- Raw text -


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