www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/22/19:21:20

From: energy AT ricb DOT demon DOT co DOT uk (eNeRGy SouRCe)
Newsgroups: comp.os.msdos.djgpp
Subject: undefined reference to 'cout'
Date: Sat, 22 Feb 1997 23:40:29 GMT
Organization: DATA DiViSi0N
Message-ID: <330f817b.1519135@news.demon.co.uk>
NNTP-Posting-Host: ricb.demon.co.uk
MIME-Version: 1.0
Lines: 23
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

#include <iostream.h>

main()
{
	int	x;
	cout << x;
}

  When I compile the above program, or any program using
input/output stream, I get the following messages.  Anyone
know what the prob could be?

c:/djgpp/tmp\ccdaaaaa(.text+0x10):test.cc: undefined reference
to`cout'
c:/djgpp/tmp\ccdaaaaa(.text+0x15):test.cc: undefined reference to
`ostream::operator<<(int)'




                     ----eNeRGy-SouRCe----
             [SiGNiTURE CURRENTLY UNDER CONSTRUCTiON]

- Raw text -


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