delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/12/21:56:36

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2010
Path: news-dnh.mv.net!mv!news.sprintlink.net!simtel!recepsen.aa.msen.com!psteele
From: psteele AT garnet DOT msen DOT com (Patrick Steele)
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP and c++ compiles
Date: 12 Sep 1995 23:56:17 GMT
Organization: Msen, Inc. -- Ann Arbor, MI (account info: +1 313 998-4562)
Lines: 26
Nntp-Posting-Host: garnet.msen.com
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

I just got DJGPP and am trying to get it to compile a c++ program.  I've
already looked at the FAQ and solved one problem.  However, I'm getting
unresolved externals to cout, endl, and the << operator.  It's a simple
"hello,world" program:

#include <iostream.h>

void main(void)
{
	cout << "hello, world" << endl;
}

Not too tricky!  I've already unzipped GPP263.ZIP and LGP262BN.ZIP.  Compiling
C programs works fine.

What am I doing wrong?!?

Help....

--
+--------------------------------------------------------+
| Patrick Steele                  psteele AT msen DOT mail DOT com  |
| WWW                      http://www.msen.com/~psteele  |
+--------------------------------------------------------+
|             <insert witty comment here>                |
+--------------------------------------------------------+

- Raw text -


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