Lesson 16. 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 or 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 learn

Image Why string manipulation classes are necessary

How to work with the STL string class

How STL ...

Get Sams Teach Yourself C++ in One Hour a Day, Eighth 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.