delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/23/01:00:29

Message-ID: <3952E8D5.4A5F0B58@hotmail.com>
From: Heavy <heavier AT hotmail DOT com>
X-Mailer: Mozilla 4.6 [en]C-SYMPA (Win98; U)
X-Accept-Language: en,fr-CA
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp,comp.lang.c++
Subject: more problems with string class
Lines: 14
Date: Fri, 23 Jun 2000 04:40:57 GMT
NNTP-Posting-Host: 64.228.19.49
X-Trace: news20.bellglobal.com 961735257 64.228.19.49 (Fri, 23 Jun 2000 00:40:57 EDT)
NNTP-Posting-Date: Fri, 23 Jun 2000 00:40:57 EDT
Organization: Sympatico
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi, I'm having more problems with the string class. I am using <string>,
but am finding that the class string has very little useful
functionality. I'm wondering if I'm missing something, or if I'm
supposed to create a subclass of string to add methods to acquire
substrings of the main string (i.e. a before(pos) method to return a
string containing the left part of a string).

I must be missing something, because I can't see creating a subclass of
string every time you need a little less generic functionality.

Any information you could provide for me would be useful, thanks

Heavy
heavier AT hotmail DOT com

- Raw text -


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