Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to append one vector to another c++

vector<int> a;
vector<int> b;
// Appending the integers of b to the end of a 
a.insert(a.end(), b.begin(), b.end());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #append #vector
ADD COMMENT
Topic
Name
1+2 =