delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/20/14:05:46

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Undefined String::String
Date: Sun, 20 Feb 2000 10:33:46 +0000
Organization: Customer of Planet Online
Lines: 31
Message-ID: <sqfvassaac4pvulkvj1fthlvgg81m4glb7@4ax.com>
References: <1105_950952758 AT wol> <uousas88oh6gctsf5k0d7h6rqhjmi5rj31 AT 4ax DOT com> <1103_951019320 AT wol>
NNTP-Posting-Host: modem-66.lawrencium.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: news7.svr.pol.co.uk 951043328 1481 62.136.71.66 (20 Feb 2000 10:42:08 GMT)
NNTP-Posting-Date: 20 Feb 2000 10:42:08 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

gdefty AT ittglobal DOT net (Graeme Defty) wrote:

> > If this is for a new project you may be better off using the standard
> > string class (ie all lower case).  You won't need libgpp for this.

> This is indeed a new project and I would *love* to use a 'standard' string class, but I can't find it,
> either in .h files or (using 'nm') in any of my libraries. Could you point me in the right direction?

Yes, but you will kick yourself ;-)

FWIW, I don't think that searching the headers or libraries is a good
way to learn C++.  You will end up using features specific to DJGPP or
GCC and later you will have portability problems.  Much better to get
a good reference book.

And as for the standard string class, brace yourself ...








#include <string>   // Ouch!



HTH, Jason.

ps. please can you reduce your line length.

- Raw text -


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