¡@

Home 

c++ Programming Glossary: vectordata

how can I find repeated elements in a vector [duplicate]

http://stackoverflow.com/questions/20635265/how-can-i-find-repeated-elements-in-a-vector

4 elements and minimum 2 for example std vector int vectorDATA X x means unknown here What I want to do is to erase the elements.. do is to erase the elements that are repeated for example vectorDATA 1 2 2 to vectorDATA 1 2 vectorDATA 1 2 3 to nothing changes.. elements that are repeated for example vectorDATA 1 2 2 to vectorDATA 1 2 vectorDATA 1 2 3 to nothing changes vectorDATA 2 2 2 to..