From: "Varis" To: 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 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01BE2623.F6FDEDA0" 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 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
Well, my problem is = quite simple. I=20 just can’t get "iostream.h" working. It’s really = boring=20 because it’s the only library which I can really use on my = programs.=20 I’m sure that the file IS on my computer, but RHIDE will say nasty = errors=20 during compiling. Exactly the error looks like this:
 
"Compiling=20 e:\stuff\coding\djgpp\bin\koe.cpp
koe.cpp(1) in file = included from=20 koe.cpp:1: 
e:\stuff\coding\djgpp\lang\cxx\iostream.h(31) error: = streambuf.h: no such=20 file or directory (enoent)
there were some = errors"=20
 
So what’s the = problem? I readed=20 the faq and it didn’t give any clues to my problem!
Please help a=20 beginner... 
 
The code i used looked = like=20 this:
 
#include=20 <iostream.h>
void main( = )
{
cout << = "THIS WONT=20 WORK";
}
 
Thanks for your help.=20 :-)
 
----------------------------------Environ=20 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=20 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=20 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\AR= J\=20
windir=3DC:\WINDOWS
BLASTER=3DA220 I5 D1 H5 = P330 T6=20 E620
CMDLINE=3Dgxx -o = koe.exe=20 koe.cpp
 
-------------------------------------------------config.sys-----= -------------------------------------------
 
device=3Dc:\windows\himem.sys=20 /SHADOWRAM:ON
device=3Dc:\windows\emm386.exe noems=20 I=3DB000-B7FF
devicehigh=3DC:\WINDOWS\COMMAND\display.sys = con=3D(ega,,1)
devicehigh=3DC:\windows\setver.exe
devicehigh=3DC:\d91xv340.SYS=20 /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\&= nbsp;
SET=20 PATH=3DE:\STUFF\CODING\DJGPP\BIN;%PATH%
SET=20 DJGPP=3DE:\STUFF\CODING\DJGPP\DJGPP.ENV
rem - By Windows 95 = Network -=20 C:\WINDOWS\net start
SET=20 SOUND=3DC:\PROGRA~1\CREATIVE\CTSND
SET MIDI=3DSYNTH:1 = MAP:E=20 MODE:0
SET BLASTER=3DA220 I5 = D1 H5 P330 E620=20 T6
mode con codepage = prepare=3D((850)=20 C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage=20 select=3D850
keyb=20 su,,C:\WINDOWS\COMMAND\keyboard.sys
rem - By Windows Setup = - MSCDEX.EXE=20 /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=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
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
 
 
Tatu Varis
Also = known as=20 "Mocca Cone"
e-mail: varistat AT dlc DOT fi
  ------=_NextPart_000_0008_01BE2623.F6FDEDA0--