From: Charles Krug <charles AT pentek DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using STL String class
Date: Thu, 10 Sep 1998 09:31:30 -0400
Lines: 27
Message-ID: <35F7D4B2.A065AEBE@pentek.com>
References: <Pine DOT SOL DOT 3 DOT 91 DOT 980910102008 DOT 4331A-100000 AT mercury>
NNTP-Posting-Host: mail.pentek.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Precedence: bulk

Goh Yong Kwang wrote:

> I've attempted to use the String class that comes with the STL without
> success.

You get two string classes with gcc.  The first is the Gun String class.  On
the PC, which is case insensitive for filenames, the apropriate header is
called "_string.h."  This is the String class that is documented in the info
files.

The STL string class is found in the header "string," and is called
"string."  This is the one discussed in all of the STL texts.  One feature
of string is that you can build a string of any data type, not just
characters.




> --

Charles Krug, Jr.
Application Engineer
Pentek Corp
1 Park Way
Upper Saddle River, NJ 07458