From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems with String class Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <39525336 DOT ED6CC8C5 AT hotmail DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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 #include 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/