delorie.com/archives/browse.cgi | search |
From: | "Michael Kopinsky" <harukan99 AT yahoo DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | cout on Win98 |
Lines: | 26 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
Message-ID: | <qh1S4.1$o61.220@news.uswest.net> |
Date: | Tue, 9 May 2000 17:38:52 -0600 |
NNTP-Posting-Host: | 63.227.62.165 |
X-Trace: | news.uswest.net 957915350 63.227.62.165 (Tue, 09 May 2000 18:35:50 CDT) |
NNTP-Posting-Date: | Tue, 09 May 2000 18:35:50 CDT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hey everyone, I recently downloaded DJGPP on my Win98 2nd Edition Machine. I tried to just compile a simple hello world program, but it wouldn't compile, giving the following error message: C:\DJGPP\bin>gcc test.cc c:/djgpp/tmp\cc2DO3Op.o(.text+0x1f):test.cc: undefined reference to `cout' c:/djgpp/tmp\cc2DO3Op.o(.text+0x24):test.cc: undefined reference to `ostream::op erator<<(char const *)' collect2: ld returned 1 exit status here is the file: #include <iostream.h> main() { cout<<"Hello World.\n"; } It said on the Zip picker that if I had problems with cout or iostream i should read the FAQ, but it didn't say where on the FAQ to look. Any help on this would be greatly appreciated. Michael
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |