0

Sorting

C++ How to sort words in lexicographical order with the help of #include<set>? (give me code please) Input: 3 (quantity of elements) C A B

26th Jun 2017, 7:14 PM
Maria
Maria - avatar
1 Odpowiedź
+ 1
std::sort will do ^^ from algorythm library
26th Jun 2017, 8:07 PM
Jakub Stasiak
Jakub Stasiak - avatar