Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

concat two vectors c++

std::vector<int> first;
std::vector<int> second;

first.insert(first.end(), second.begin(), second.end());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #concat #vectors
ADD COMMENT
Topic
Name
1+2 =