Qt Centre Forum
>
Qt
>
Newbie
> Simple QVector sort?
PDA
View Full Version :
Simple QVector sort?
bizmopeen
16th February 2010, 17:41
Is there a simple method to sort the elements in a QVector in Qt4? I see that there's no dedicated command (unlike in previous Qt versions). Thanks in advance.
Lykurg
16th February 2010, 17:44
See qSort() and qStableSort().
spirit
16th February 2010, 17:44
use qSort.
bizmopeen
16th February 2010, 17:50
Thanks, all!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.