delorie.com/archives/browse.cgi | search |
Date: | Fri, 08 Aug 1997 14:22:54 +1100 |
From: | Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz> |
Subject: | Re: Help for newbie. |
In-reply-to: | <5s4ru9$bge@neon.btinternet.com> |
To: | Markralph AT btinternet DOT com, djgpp AT delorie DOT com |
Message-id: | <199708080227.OAA09387@teleng1.tait.co.nz gatekeeper.tait.co.nz> |
Organization: | Tait Electronics Limited |
MIME-version: | 1.0 |
Comments: | Authenticated sender is <billc AT blackmagic DOT tait DOT co DOT nz> |
On 4 Aug 97 at 15:19, Mark Ralph wrote: > When I complile it as gcc -o test test.cpp > I get: > ...test.cc: undefined refererce to `cout' Yup, you need to put either `-lgpp' or `-liostream' on your command line. eg gcc -o test test.cpp -lgpp or, you can use gxx, which does this for your. eg gxx -o test test.cpp Bill -- Leave others their otherness.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |