龙之吻 · 2009-03-27 02:48:42 · 阅读: 471 这句写错了,应该是这样。对不起for(vector<A>::iterator it1 = v.begin();it1!=v.end();) { v.erase(it1++);…… <空>