C++

Objectives :

  • myAlgo_replace_copy1.cpp
    Replace a pair of element in one vector, from another vector, at the end of the first vector
    replace_copy(v1.begin(), v1.begin()+8, v2.begin(),71,70);
  • Code: myAlgo_replace_copy1.txt
 

Step: 1 Create a source file.

 

Step: 2 Edit and save Source file

Step: 3 Runtime Views:

 

Step: