vector.pop_back() question

I am trying to remove an element from a vector, and I was told to use vector.pop_back(), but from the tutorial on this site, it claims the member function removes the last element. So if my vector.size() = 30, i.e., and I wanted to remove vector[12], how would my code look using .pop_back()?!? Thanks for the help!!

check out vector::erase()
Topic archived. No new replies allowed.