...

/

Chapter Overview

Chapter Overview

Get an idea of what we'll cover in this chapter.

We'll cover the following...

The STL string class is a powerful, full-featured tool for storing, manipulating, and displaying character-based data. It has much of the convenience we would find in a high-level scripting language, yet remains as quick and agile as we would expect from C++.

The string class is based on basic_string, a contiguous containerContiguous containers refer to data structures in programming that store elements in a contiguous block of memory, allowing for efficient random access and element traversal due to their memory layout. class that may be ...