delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/11/10:45:23

From: darrylwright AT bigfoot DOT com (-=< Darryl >=-)
Newsgroups: comp.os.msdos.djgpp
Subject: Undefined cout???
Date: Mon, 11 May 1998 14:31:09 GMT
Organization: NBTel Internet
Lines: 18
Message-ID: <35570b2d.11123065@news.nbnet.nb.ca>
NNTP-Posting-Host: 142.134.179.163
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am just trying to compile a simple c++ app, it doesn't do much yet,
besides print some stuff out. I use cout << "blah blah!"; I have
included <iostream.h> and yet it spits out a whole slew of:

c:/djgpp/tmp/cccyzcxf(.text+0x1c6):hello.cpp: undefined reference to
`cout'
c:/djgpp/tmp/cccyzcxf(.text+0x1cb):hello.cpp: undefined reference to
`ostream::o perator<<(char const *)'

Any suggestions would be greatly appreciated?

Thanks





"Might as well smile, we're all going to die anyway."

- Raw text -


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