DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+9 =
Submit