O'Reilly logo

Sams Teach Yourself C++ in One Hour a Day, Sixth Edition by Bradley Jones, Siddhartha Rao, Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 class

  • The template-based implementation of the STL string

The Need for String Manipulation Classes

In C++, a string is an array ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required