0
Vector is a dynamic array, meaning it doesn't have a fixed size and new elements can be added at any time. It is used to store a previously unknown amount of variables. To declare it, you first need to add #include <vector> to your code and then declare it by typing vector<'data type of your choice'> 'name of your choice'.
9th Jun 2017, 7:23 PM
David Daubner
David Daubner - avatar