X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: DoObiEdu AT aol DOT com Message-ID: <1f9.90df4e3.2fa986c8@aol.com> Date: Tue, 3 May 2005 22:00:40 EDT Subject: Fwd: Help! "cout" compile error To: dj AT delorie DOT com CC: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="part1_1f9.90df4e3.2fa986c8_boundary" X-Mailer: 9.0 SE for Windows sub 5001 Reply-To: djgpp AT delorie DOT com --part1_1f9.90df4e3.2fa986c8_boundary Content-Type: multipart/alternative; boundary="-----------------------------1115172040" -------------------------------1115172040 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sorry to be sending this message again. I don't know if I sent it wrong the first time or not. I did get one response but I didn't understand it, it didn't really explain anything. If Anyone can help me, I have forwarded my question again, or If someone could let me know if I am posting this wrong. My intent is to send it to the newsgroup. Any and all help is appreciated. Thanks again -------------------------------1115172040 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
Sorry to be sending this message again. I don't know if I sent=20= it=20 wrong the first time or not.  I did get one response but I didn't=20 understand it, it didn't really explain anything.  If Anyone can help m= e, I=20 have forwarded my question again, or If someone could let me know if I am=20 posting this wrong. My intent is to send it to the newsgroup. Any and all he= lp=20 is appreciated. Thanks again
-------------------------------1115172040-- --part1_1f9.90df4e3.2fa986c8_boundary Content-Type: message/rfc822 Content-Disposition: inline Return-Path: Received: from rly-yi02.mx.aol.com (rly-yi02.mail.aol.com [172.18.180.130]) by air-yi02.mail.aol.com (v105.26) with ESMTP id MAILINYI23-7b34271b540108; Fri, 29 Apr 2005 00:17:11 -0400 Received: from delorie.com (delorie.com [207.22.48.162]) by rly-yi02.mx.aol.com (v105.26) with ESMTP id MAILRELAYINYI25-7b34271b540108; Fri, 29 Apr 2005 00:17:05 -0400 Received: (from mail AT localhost) by delorie.com (8.12.8/8.12.8) id j3T4CI2m012794 for djgpp-list; Fri, 29 Apr 2005 00:12:18 -0400 X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Received: from imo-d04.mx.aol.com (root AT localhost) by delorie.com (8.12.8/8.12.8) with SMTP id j3T4CHKc012788 for ; Fri, 29 Apr 2005 00:12:17 -0400 Received: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36]) by delorie.com (antispam) Received: from DoObiEdu AT aol DOT com by imo-d04.mx.aol.com (mail_out_v38_r1.7.) id 5.126.5c1c522d (4012) for ; Fri, 29 Apr 2005 00:01:47 -0400 (EDT) From: DoObiEdu AT aol DOT com Message-ID: <126 DOT 5c1c522d DOT 2fa30bab AT aol DOT com> Date: Fri, 29 Apr 2005 00:01:47 EDT Subject: Help! "cout" compile error To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-----------------------------1114747307" X-Mailer: 9.0 Security Edition for Windows sub 1201 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk X-AOL-IP: 207.22.48.162 -------------------------------1114747307 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Help!! I read the FAQ blah Blah Blah and tried all that jazz I'm sposed to do. That being my disclaimer/shirking-off-of-any-further responsibility-of-reading-or-further-and-likely-extensive-research: When I try to compile "hello world" this is the compile error message I get: C:\djgpp>gpp hello.cpp -o hello.exe hello.cpp: In function 'int main( )': hello.cpp:6: error:'cout' undeclared (first use this function) hello.cpp:6: error:(Each undeclared identifier is reported only once for each function it appears in.) All of my files were downloaded from the 'delorie.com\djgpp' site. I found a post from someone else having the same problem but could not find the answer to his question. I have included all the required info below. What do I do. Any and all help is greatly appreciated Contents of environ.txt ------------------------------------------ TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM PATH=C:\DJGPP\BIM;C:WINDOWS;C:WINDOWS\COMMAND DJGPP=C:\DJGPP\DJGPP.ENV windir=C:WINDOWS BLASTER=A220 I5 D1 CMDLINE=gpp hello.cpp -o hello.exe Result of Running Go32-v2 --------------------------------------------- go32/v2 version 2.0 built Dec 24 2001 21:25:02 Usage: go32 coff-image [args] Rename this to go32.exe only if you need a go32 that can run v2 binaries as well as v1 binaries (old makefiles). Put ahead of the old go32 in your PATH but do not delete your old go32 - leave it in the PATH after this one. Set GO32_v2_debug=y in the environment to get verbose output. DPMI memory available: 38781 Kb DPMI swap space available: 19423 In Autoexec.bat ---------------------- Rem TShoot: SET PATH=C:\DJGPP\BIN;%PATH% Rem TShoot: SET DJGPP=C:\DJGPP\DJGPP.ENV C:\essolo.com In config.sys --------------------------- DEVICE=C:\essolo.sys -------------------------------1114747307 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
Help!! I read the FAQ blah Blah Blah and tried all that jazz I'm sposed= to=20 do.  That being my disclaimer/shirking-off-of-any-further=20 responsibility-of-reading-or-further-and-likely-extensive-research: When I t= ry=20 to compile "hello world" this is the compile error message I get:
 
C:\djgpp>gpp hello.cpp -o hello.exe
hello.cpp: In function 'int m= ain(=20 )':
hello.cpp:6: error:'cout' undeclared (first use this=20 function)
hello.cpp:6: error:(Each undeclared identifier is reported only= =20 once for each function it appears in.) 
 
All of my files were downloaded from the 'delorie.com\djgpp' site. I fo= und=20 a post from someone else having the same problem but could not find the answ= er=20 to his question. I have included all the required info below.  What do=20= I=20 do. Any and all help is greatly appreciated

Contents of=20 environ.txt
------------------------------------------
TMP=3DC:\WINDOW= S\TEMP
TEMP=3DC:\WINDOWS\TEMP
PROMPT=3D$p$g
winbootdir=3DC:\WINDOWS=
COMSPEC=3DC:\WINDOWS\COMMAND.COM
PATH=3DC:\DJGPP\BIM;C:WINDOWS;C:WIND= OWS\COMMAND
DJGPP=3DC:\DJGPP\DJGPP.ENV
windir=3DC:WINDOWS
BLASTER= =3DA220=20 I5 D1
CMDLINE=3Dgpp hello.cpp -o hello.exe
 
 
 
Result of Running=20 Go32-v2
---------------------------------------------
go32/v2 version=20= 2.0=20 built Dec 24 2001 21:25:02
Usage: go32 coff-image [args]
Rename this t= o=20 go32.exe only if you need a go32 that can run v2
binaries as well as v1=20 binaries (old makefiles). Put ahead of the
old go32 in your PATH but do=20= not=20 delete your old go32 - leave it in
the PATH after this one. Set=20 GO32_v2_debug=3Dy in the environment to
get verbose output.
 
DPMI memory available: 38781 Kb
DPMI swap space available: 19423
 
In Autoexec.bat
----------------------
Rem TShoot:
SET=20 PATH=3DC:\DJGPP\BIN;%PATH%
Rem TShoot:
SET=20 DJGPP=3DC:\DJGPP\DJGPP.ENV
C:\essolo.com
 
In=20 config.sys
---------------------------
DEVICE=3DC:\essolo.sys
-------------------------------1114747307-- --part1_1f9.90df4e3.2fa986c8_boundary--