16,211
社区成员
发帖
与我相关
我的任务
分享
bool compareBarData(const JIEGOU1 &barAmount1, const JIEGOU1 &barAmount2)
{
if (barAmount1.a < barAmount2.a)
{
return true;
}
return false;
}
qSort(list.begin(), list.end(), compareBarData);