O'Reilly logo

Sams Teach Yourself C++ in One Hour a Day, Eighth Edition by Siddhartha Rao

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

Lesson 17. STL Dynamic Array Classes

Unlike static arrays, dynamic arrays supply the programmer with the flexibility of storing data without needing to know the exact volume thereof at the time of programming the application. Naturally, this is a frequently needed requirement, and the Standard Template Library (STL) supplies a ready-to-use solution in the form of the std::vector class.

In this lesson, you learn

Image The characteristics of std::vector

Image Typical vector operations

The concept of a vector’s size and capacity

The STL deque class

The Characteristics ...

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