Mail Archives: djgpp/1998/09/10/10:00:36
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
- Raw text -