ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/02/11:30:22

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "wormscoffer" <ajhussey AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: string6.h ?
Date: Tue, 2 Apr 2002 17:22:13 +0100
Message-ID: <1017764467.9002.0.nnrp-14.d4e5b733@news.demon.co.uk>
NNTP-Posting-Host: saconsultancy.demon.co.uk
X-NNTP-Posting-Host: saconsultancy.demon.co.uk:
X-Trace: news.demon.co.uk 1017764467 nnrp-14:9002 NO-IDENT saconsultancy.demon.co.uk:
X-Complaints-To: abuse AT demon DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 30
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I've had an awfully good look around using both Steve Heller's site and DJ's
as well as much Googling but no joy so please excuse me if this is one of
those "not again" questions.

I'm working my way through Steve'e C++ book (on-line using Oreilly Safari
hence no book cover CD) and having trouble compiling the string program
using the header file string6.h.

I know it's not my code as I've tried it with Steve's off his website :
but I'm getting

undefined reference to 'string::string()'
undefined reference to 'operator>>(std::iostream&, string&)'
undefined reference to 'operator>>(std::iostream&, string const&)'
undefined reference to 'string::~string()'

I used the link picker to download the DJGPP and RHIDE files and I suspect
that it may be a later version than the one included with the book.

Any ideas would be appreciated.


Andrew Hussey

- Raw text -

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