Vector class functions
Is it possible to capture and store a data from the Vector class into another variable when calling the pop_back() function?
If so, what's the best way to do it?
vector::pop_back()
just deletes the last item. If you want access that item (before deleting it obviously), use vector::back()
.
Topic archived. No new replies allowed.