April 2018
Intermediate to advanced
322 pages
6h 57m
English
There is a std::string data type in the C++ Standard Template Library (STL). We can use it to replace characters in an array, since it has more flexibility features. The biggest advantage to using this data type instead of a characters array is that the size of std::string can be extended dynamically in runtime. Other functionalities that it has are as follows: