Answers for "how to concatenate two vectors in c++"

C++
0

how to concatenate two vectors in c++

vector<int> a, b;
//fill with data
b.insert(b.end(), a.begin(), a.end());
Posted by: Guest on August-07-2021

Code answers related to "how to concatenate two vectors in c++"

Browse Popular Code Answers by Language