www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/02/18:54:34

Xref: news2.mv.net comp.os.msdos.djgpp:741
From: terra AT diku DOT dk (Morten Welinder)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help: cin /cout?
Date: 1 Feb 1996 10:59:10 GMT
Organization: Department of Computer Science, U of Copenhagen
Lines: 21
Sender: terra AT tyr DOT diku DOT dk
Message-ID: <4eq6du$akl@odin.diku.dk>
References: <4emepa$crl AT cabell DOT vcu DOT edu>
NNTP-Posting-Host: odin.diku.dk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

jtahardi AT cabell DOT vcu DOT edu (Jonas Tahardi) writes:

[...]
>main ()
>{ cout << "Hello\n";
>}

[...]

> c:/djgpp/bin\ld.exe c:/djgpp/lib\crt0.o -Lc:/djgpp/lib c:/djgpp
>tmp\ccb16036
>1.cc(.text+0x20): undefined reference to `cout'
>1.cc(.text+0x25): undefined reference to `ostream::operator<<(char
>const *)'

>now... what did I do wrong?

You failed to read the manual and the frequently asked questions,
that's all.

Morten

- Raw text -


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