Junior — Senior
Remove the fifth element from std::vector
livecode
Task condition
It is necessary to remove the element with index 4 in the array-vector of objects SomeClass.
std::vector<SomeClass> items;
// remove the 5th element (index 4)
livecode
Task condition
It is necessary to remove the element with index 4 in the array-vector of objects SomeClass.
std::vector<SomeClass> items;
// remove the 5th element (index 4)