• C++ Standard Library string. C++ offers two types of strings—
string class objects (which we begin using in Chapter 3) and C strings (from the C programming language). We’ve replaced most occurrences of C strings with instances of C++ class
string to make programs more robust and eliminate many of the security problems of C strings. We discuss C strings later in the book to prepare you for working with the legacy code in industry. In new development, you should favor
• C++ Standard Library array. Our primary treatment ...