vector erase « Vector « C++






1.Remove(delete) all elements in the vector
2.Erase first element
3.Use unique_copy to remove duplicate words
4.Removes an element from an unordered vector
5.Removes an element from an ordered vector