Standard C++ Library User Guide and Tutorial

vector<int>::iterator nth = aVec.begin() + 4;
nth_element (aVec.begin(), nth, aVec.end());
cout << "fifth largest is " << *nth << endl;
}