问题 - 列出按最高预订数量排序的乘客。
void defaultvalue(vector<indi>&a)
{
a.push_back(indi("Kobe","17-05-2015","KUL","SIN"));
a.push_back(indi("Kobe","14-04-2015","KUL","HKG"));
a.push_back(indi("David","08-04-2015","JED","HKG"));
如何使用算法实现计数和排序部分... 并显示神户第一和大卫跟随取决于预订的数量... 请任何1可以帮助我..