std::string - C++ standard library - Cprogramming.com
Learn how to use the C++ string class with examples and detailed explanations of features. ... Declaring a string is easy: using namespace std; string my_string; or std::string my_string; You can also specify an initial value for the string in a construct...