•The vector class implements an (expandable) array. To use the vector, the header file vector must be included:
•
#include <vector>
•Vectors can be used like arrays, and can be defined with a fixed number of elements. E.g., to define a vector of 30 ints we do
• vector<int> iVector(30);
•Note the specification of the data type that is to be used: the datatype is given between angular brackets after the vector container name.
•