Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

stl sort in c++

sort(arr, arr+n, greater<int>()); // sorts in descending order
Source by cplusplus.com #
 
PREVIOUS NEXT
Tagged: #stl #sort
ADD COMMENT
Topic
Name
6+7 =