perhaps this may be of help..
Code:
---------------------
iterator
insert(iterator position, const T& x);
Inserts x before position. The return value points to the inserted x.
------------------
void
insert(iterator position, size_type n, const T& x);
Inserts n copies of x before position.
-----------------------------
void
insert(iterator position, InputIterator first,
InputIterator last);
Inserts copies of the elements in the range [first, last] before position.
--------------------------
void
push_back(const T& x);
Inserts a copy of x to the end of self.
just some vector functions for inserting stuff.. there are more but i don't want to make this thread too huge.. just look in .h file for the rest mate...