vector
#include <vector>
std
// choice 1 using namespace std; vector< ...> // or choice 2 std::vector<...>
vector <dataType> identifier; vector <dataType> identifier(size); vector <dataType> identifier(size, value); vector <dataType> identifier({initializer list}); vector <dataType> identifier = {initializer list};
vector <int> myNumbers; vector <CritterT> monsters; vector <RoomT *> rooms;
push_back(item)
.
[]
operators work just fine.
size()
returns the size of the vector.
pop_back()
removes the last item.
auto
and auto &