delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/22/15:35:21

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems with String class
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <fom4ls87h5tu1qlu7b4k8s85885s9p5c38@4ax.com>
References: <39525336 DOT ED6CC8C5 AT hotmail DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 21
X-Trace: /KiKeWWhIREHAAOf6qiyjs80dTi6z+xX4CUGwCESlO7vznqVAgd9niXBe+ESkKvkzPVNgsQ3nKbL!MwfnOH/oCdtE8Wt/lkjQo0/yMUWN13BVUAKH5R6DAUk1tfMl+fqRWk3Xdkjn3GA7C06dSCBVvub/!uVsF
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Thu, 22 Jun 2000 18:31:18 GMT
Distribution: world
Date: Thu, 22 Jun 2000 18:31:19 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Thu, 22 Jun 2000 18:02:37 GMT, Heavy <heavier AT hotmail DOT com> wrote:

>Hi, I'm having a problem using the c++ string library, specifically, the
>String class in _string.h.

That's from the _very_ old GNU C++ library.  You want to use the STL
version:

#include <iostream>
#include <string>
using namespace std;

then use the `string' class (lowercase)

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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