Vectors for Safe and Flexible Data Storage
Lecture no. 9 from the course: Introduction to C++: Programming Concepts and Applications
Taught by Professor John Keyser | 31 min | Categories: The Great Courses Plus Online Professional Development Courses
Continue your study of data storage strategies by looking at vectors, which handle variables in much the same way as arrays but with distinct advantages, including the ability to change the size of a data structure dynamically. Learn how and when to use vectors, and discover that vectors offer a convenient fix for the out-of-bounds error introduced in the previous lecture.