Appending a vector to a vector [duplicate]
This question already has answers here: Concatenating two std::vectors (26 answers) Closed 6 years ago. Assuming I have 2 standard vectors: vector<int> a; vector<int> b; Let’s also say the both have around 30 elements. How do I add the vector b to the end of vector a? The dirty way would be iterating through b … Read more