It is showing error in initialisation,declaration inside the loops
plz help
Vector_algo_problem
- Line 21:
rotate(v.begin(); v.begin()+3; v.end());
It should be:
rotate(v.begin() , v.begin()+3, v.end());
It is showing error in initialisation,declaration inside the loops
plz help
rotate(v.begin(); v.begin()+3; v.end());
It should be:
rotate(v.begin() , v.begin()+3, v.end());