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

From: dazz AT cableinet DOT co DOT uk (Darian Linehan)
Newsgroups: comp.os.msdos.djgpp
Subject: Error
Date: Fri, 11 Sep 1998 09:18:02 GMT
Organization: Cable Internet (post doesn't reflect views of Cable Internet)
Message-ID: <35f8eaaa.4068244@news.cableinet.net>
NNTP-Posting-Host: usr88-cro.cableinet.co.uk
Mime-Version: 1.0
NNTP-Posting-Date: 11 Sep 1998 09:16:46 GMT
Lines: 15
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi, I have just downloaded and installed DGJPP. Every time I try and
compile a program (the basic "Hello World!" prog)
I get the following error:

c:/utils/dgjpp/tmp\cccqedcf(.text+0x19):hello.cpp: undefined reference
to `cout'
c:/utils/dgjpp/tmp\cccqedcf(.text+0x1e):hello.cpp: undefined reference
to `ostream::operator<<(char const *)'

Any ideas?

The program should have no errors as it was copied directly from a
book.

Dazz

- Raw text -


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