411 REFERENCE · Wikibooks
C++ Language/Std/Strings/StringClass
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
An object-oriented approach to storing string data is C++'s std::string object, which can dynamically-grow because it implements many of the same functions as an STL vector.
Instead of using '\0' to terminate string data, you can query its strVar.size() function.
Construction
Equality
Indexing
Inserting Characters
Algorithms