摘要: turnPoints是一个二维vector容器,下面代码实现了二维vector的逐个遍历,类似于以为数组float distance = 100;for(int i = 0; i >turnPoints;for(int i = 0; i < turnPoints.size()-1; i++) for(int j = 0; j < turnPoints[i].size()-1; j++) for(int m = i; m < turnPoints.size(); m++) { int n; ... 阅读全文
posted @ 2013-07-30 15:44 qingsun_ny 阅读(5562) 评论(0) 推荐(0) 编辑