Answers for "concat two vector cpp"

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

Browse Popular Code Answers by Language