Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

access last element of set c++

auto it = s.end();
it--;
cout<<*it<<"
"; 
 
PREVIOUS NEXT
Tagged: #access #element #set
ADD COMMENT
Topic
Name
7+4 =