use a method to initialise a vector of pointers code example Example: initialize vector of pointers c++ std::vector<int*> stuff;