Chapter 17. The STL string
Class
The standard template library (STL) supplies the programmer with a container class that aids in string operations and manipulations. The string
class not only dynamically resizes itself to cater to the application’s requirement but also supplies useful helper functions/methods that help manipulate the string and work using it. Thus, it helps programmers make use of standard, portable, and tested functionality in their applications and focus time on developing features that are critical to it.
In this lesson, you will learn
The need for string manipulation classes
Working with the STL
string
classThe template-based implementation of the STL
string
The Need for String Manipulation Classes
In C++, a string
is an array ...
Get Sams Teach Yourself C++ in One Hour a Day, Sixth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.