Mail Archives: djgpp/1995/09/13/15:03:47
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:2023
|
Path: | news-dnh.mv.net!mv!news.NH.Destek.Net!news2.net99.net!news.cais.net!news.sprintlink.net!howland.reston.ans.net!agate!news.ucdavis.edu!wheel!elric
|
From: | elric AT wheel DOT dcn DOT davis DOT ca DOT us (Jeffrey Taylor)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: DJGPP and c++ compiles
|
Date: | 13 Sep 1995 15:41:34 GMT
|
Organization: | Davis Community Network - Davis, California, USA
|
Lines: | 35
|
References: | <4356n1$9hn AT recepsen DOT aa DOT msen DOT com>
|
Nntp-Posting-Host: | wheel.dcn.davis.ca.us
|
To: | djgpp AT sun DOT soe DOT clarkson DOT edu
|
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp
|
put -liostr on the link command line.
Patrick Steele (psteele AT garnet DOT msen DOT com) wrote:
: 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> |
: +--------------------------------------------------------+
--
============================================
Without my guitar, I am a poet without arms.
- Michael Bloomfield
============================================
- Raw text -