Gaddis (p. 451) has a reverse function for vectors that MS doesn't seem to recognize.
Just experimenting around with his various vector member functions, I have the vector NumVect1 with 5 integer members (and I have the #include <vector> header), but when I put in the line of code:
NumVect1.reverse();
Visual Studio returns an error. Is it in a different library? Or does MS Visual Studio Express just not have it? Or am I misunderstanding Gaddis and using incorrect syntax? What it's supposed to do is just reverse the order of the elements of the vector.