Vector class functions

Mar 22, 2018 at 7:08pm
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?
Mar 22, 2018 at 7:22pm
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.