insert at position in vector c++

C++
// where v is the vector to insert, i is
// the position, and value is the value

v.insert(v.begin() + i, v2[i])
Source

Also in C++: