Date: Fri, 08 Aug 1997 14:22:54 +1100 From: Bill Currie 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 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Comments: Authenticated sender is Precedence: bulk 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.