Mail Archives: djgpp/1998/03/08/16:44:26
None of my cout statements work. I'm trying to use iostream.h as a
header file. I don't know what to do. I've looked in the FAQ, but I
can't figure it out.
enviro.lst
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
DJGPP=c:\djgpp\djgpp.env
PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND
SOUND=C:\PROGRA~1\CREATIVE\CTSND
MIDI=SYNTH:1 MAP:E MODE:0
windir=C:\WINDOWS
BLASTER=A220 I5 D1 H5 P330 T6 E620
go32-v2
DPMI memory available: 21211 Kb
DPMI swap space available: 0 Kb
C:\DJGPP\BIN\gcc -g -o test test.cc
c:/djgpp/tmp\ccdaaaaa: In function 'main':
test.cc:12: undefined reference to 'cout'
test.cc:(.text+0x49): undefined reference to
'ostream::operator<<(double)'
I would appreciate a response. Thank you very much.
Sincerely,
Tim Faehnle
tgf0003 AT jove DOT acs DOT unt DOT edu
- Raw text -