Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to concatenate two vectors in c++

vector<int> a, b;
//fill with data
b.insert(b.end(), a.begin(), a.end());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #concatenate #vectors
ADD COMMENT
Topic
Name
2+7 =