delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/21/20:13:55

From: graeme AT hk DOT super DOT net (Graeme)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Undefined String::String
Message-ID: <1103_951137636@wol>
Date: Mon, 21 Feb 2000 12:53:56 GMT
References: <1105_950952758 AT wol> <uousas88oh6gctsf5k0d7h6rqhjmi5rj31 AT 4ax DOT com> <1103_951019320 AT wol> <sqfvassaac4pvulkvj1fthlvgg81m4glb7 AT 4ax DOT com>
NNTP-Posting-Host: 202.135.184.36
X-Trace: 21 Feb 2000 12:56:33 GMT, 202.135.184.36
Organization: Global Network Services - Remote Access Mail & News Services
Lines: 46
X-Complaints-To: abuse AT prserv DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 20 Feb 2000 10:33:46 +0000, Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk> wrote:
> 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++.

Now how on earth did you know that I was trying to learn??
But you're right, as I am discovering. I have been reading a (basic)
book which seems good, but it doesn't cover the class libraries at all.

> 
> And as for the standard string class, brace yourself ...
> 
> 
> #include <string>   // Ouch!
> 

<Sounds offstage of rear-end being self-kicked>

Duhhh.

Thanks. Now I just need to scan the web for docs. Maybe if I
look into the include files I can figure out the interface ... :->
 
OK OK. I'll buy a book.

> 
> HTH, Jason.
> 
> ps. please can you reduce your line length.

Done.

Thanks again,

g 
 

- Raw text -


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