2.1.1 Vector Basics

In this lesson, you are going to explore vectors. Vectors are one of the most common list structures in C++. Vectors allow you to store multiple values in a single variable.

List structures are common in programming languages. C++ uses arrays and vectors, similar to Java’s use of arrays and ArrayLists, respectively.

In this course, you will use vectors exclusively. While arrays do have a place in C++, this course does not explore them.

Last updated