+ 2
How to sort vector?
How to sort vector of integers from the biggest to the smallest number in the quickest way? Or maybe there is such a function for an array?
4 ответов
+ 3
first sort than reverse the array
+ 3
Just get this yourarrayname
Array.Sort<int>(yourarrayname);
Array.Reverse(yourarrayname);
+ 1
have a look at the algorithm header file.
http://www.cplusplus.com/reference/algorithm/
0
Just try more you imagine you will be closer to your goals or target