If I am using vectors and want to insert integers from 0, 999,999, and then find the elements with value 100,000 and lace an iterator to point to that element, and then erase the element that was found (element 100,000. how do I create the coding for that.
Also if I want to measure the CPU time how would I go about doing that.
If you're using Windows, the way to get the CPU time, rather than the clock time, is using GetThreadTimes(). But I have no idea how you do the same on Linux, etc.