delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/02/17:15:05

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: Re: string6.h ?
Date: Tue, 2 Apr 2002 23:00:48 +0100
Message-ID: <1017784782.20961.0.nnrp-14.d4e5b733@news.demon.co.uk>
References: <1017764467 DOT 9002 DOT 0 DOT nnrp-14 DOT d4e5b733 AT news DOT demon DOT co DOT uk> <1017765344 DOT 497586 AT queeg DOT ludd DOT luth DOT se>
NNTP-Posting-Host: saconsultancy.demon.co.uk
X-NNTP-Posting-Host: saconsultancy.demon.co.uk:212.229.183.51
X-Trace: news.demon.co.uk 1017784782 nnrp-14:20961 NO-IDENT saconsultancy.demon.co.uk:212.229.183.51
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: 41
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Thanks MartinS

That seems to have sorted it.

Although I'm happy to leave it there (now I can carry on with working
through the book) I'm intersted to know what aspects of the code aren't
compliant with the latest standard. Am I learning out-of-date coding?

Cheers

Andrew

"Martin Str|mberg" <ams AT speedy DOT ludd DOT luth DOT se> wrote in message
news:1017765344 DOT 497586 AT queeg DOT ludd DOT luth DOT se...
> wormscoffer <ajhussey AT hotmail DOT com> wrote:
> : I know it's not my code as I've tried it with Steve's off his website :
> : http://www.steveheller.com/whos/code/basic07.cc
> : 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.
>
> Try using gcc2*b.zip and gpp2*b.zip instead of gcc3*b.zip and
> gpp3*b.zip.
>
> If that works, the code isn't complying to the latest standard.
>
>
> Right,
>
> MartinS


- Raw text -


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