Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

convert vector to set c++

set <int> convertToSet(vector<int> v) 
{
	set<int> s(v.begin(),v.end());
	return s;
}
Source by www.techiedelight.com #
 
PREVIOUS NEXT
Tagged: #convert #vector #set
ADD COMMENT
Topic
Name
7+3 =