$\require{cancel}$
Intro To Vectors
- Some of the examples in this section use vectors.
- So we will do a quick overview.
- Vectors are dynamic one dimensional arrays.
- They are part of the standard library.
- A reference.
- Templated, so any data type with copy constructors and assignment operators.
- Many member functions.
- We care about
- push_back, pop_back.
- [] and at.