delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/08/16:44:26

Message-ID: <3503100B.1B72B57B@jove.acs.unt.edu>
Date: Sun, 08 Mar 1998 15:39:23 -0600
From: Tim Faehnle <tgf0003 AT jove DOT acs DOT unt DOT edu>
Reply-To: tgf0003 AT jove DOT acs DOT unt DOT edu
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Problems

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 -


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