You are viewing a single comment's thread. Return to all comments →
do this !
v.erase (v.begin()+(q1-1)) ; v.erase(v.begin()+q2-1 , v.begin()+q3-1) ;
Seems like cookies are disabled on this browser, please enable them to open this website
Vector-Erase
You are viewing a single comment's thread. Return to all comments →
do this !
v.erase (v.begin()+(q1-1)) ; v.erase(v.begin()+q2-1 , v.begin()+q3-1) ;