Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

set size in c++

set<int> setTemp {12,23,34,45,56,67};
int setLen = setTemp.size();
cout<<setLen<<endl;

// output:   6 
 
PREVIOUS NEXT
Tagged: #set #size
ADD COMMENT
Topic
Name
5+8 =