0
copy elements in vector (c++)
vector< int > a {1 , 2, 3}; Vector< int > b {4, 5, 6}; copy( a.begin() + 1, a.begin()+ 3, b.begin()); . This is giving the output => 2 3 6 But i want the out put = > 2 3 4 5 6 . How can i do this ??? Advance thanks ....
5 Answers
0
Any solution code ?
0
Can you specify the name of the algorithm ???