15,980
社区成员




std::map<double,int> MapForSort;//借用map来排序
MapForSort[1.0] = 1;
MapForSort[2.0] = 2;
MapForSort[3.0] = 3;
MapForSort[4.0] = 4;
std::map<double,int>::iterator it = MapForSort.begin();
int i = it->second;