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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.