append vector into another c++ code example Example: appending a vector in vector a.insert(a.end(), b.begin(), b.end());