C++ IO/Streams/String ( being updated please visit later)
String objects are a special type of container, derived from the
class string, specifically
designed to handle sequences of characters, and better choice over
the functions of C languages. When comparing with the traditional
c-strings, which handles sequences of characters
in a memory array,static and unsafe data type; C++
string objects belong to a class "string" which is a part of the C++
standard library.
The string class is an instantiation of the
basic_string class template, defined in <string> as:
typedef
basic_string<char> string;