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
The characteristics of
std::vector
Typical
vector
operations
The concept of a vector’s size and capacity
The STL deque
class
The Characteristics ...
Get Sams Teach Yourself C++ in One Hour a Day, Eighth Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.