The STL String Class
The next few chapters of this book are going to introduce you to the Standard Template Library (STL). The STL contains classes that you can use to manipulate strings, store objects, and access them using several different patterns. The STL also provides iterators to traverse collections and algorithms for carrying out different types of operations on your data sets. You have already been using the STL string class throughout this book. This chapter looks at the different methods that the STL provides for working with classes and points out some of the reasons why using this class is more desirable than dealing with raw C strings.