Answers for "how to use list.addAll on c++ vetor"

C++
11

how to use list.addAll on c++ vetor

vector<int> a;
vector<int> b;
// Appending the integers of b to the end of a 
a.insert(a.end(), b.begin(), b.end());
Posted by: Guest on January-13-2020

Browse Popular Code Answers by Language