Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

use set to get duplicates in c++

if(my_set.insert("value").second == false) { do_something_for_duplicate(); }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #duplicates
ADD COMMENT
Topic
Name
1+9 =