DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
erase duplicates and sort a vector
sort( vec.begin(), vec.end() ); vec.erase( unique( vec.begin(), vec.end() ), vec.end() );
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#erase
#duplicates
#sort
#vector
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit