u****g 发帖数: 402 | 1 online测试题,哪个function 可以来 sort array of string,
qsort or sort?
网上搜出来的都是在讲怎么用qsort来排序array of string, 但sort应该更好用并且更
简单吧。 | n**z 发帖数: 155 | 2 Java? Arrays only have a sort function | n**z 发帖数: 155 | 3 static void sort(Object[] a)
Sorts the specified array of objects into ascending order,
according to the natural ordering of its elements. | c*******n 发帖数: 63 | 4 只知道STL Algorithm里有sort,不知道有qsort
ps: sort适合有RandomAccessIterator的container |
|