QUOTE(lockdown @ 17 Dec, 2007 - 01:12 AM)

So thats similar to loading the string into a array correct? So each character turns into a element of a array?
Underneath the cute
string interface is nothing more than an array of characters; so its not a case of "turns into" - The string interface just exposes some of that raw implementation detail to you - Enough to be useful, but not enough for you, the programmer, to burn your fingers with it by doing something "bad" (Well, maybe a little, but far less than when you start playing with "raw" arrays and pointers).
I like to think of the C++ string type as a "container" specially designed for characters. Much in the way that a
vector can hold multiple items of data of a certain type, except that a C++ string only ever stores characters, but allows easy manipulation of so-called "plain text".