- Joined
- Sep 30, 2002
- Location
- Oregon
I need to insert elements into the beginning of a vector and can't remember the name of the function. to add elements to the end I would use vector.push_back( var ) and to remove from the end, vector.pop_back( ). I want to know how add a ne wfirst element, moving existing elements back, and how to take out the first element. Thanks all.