|
|
back to boardstrange crash vector<pair<int,int> > add,rem; .... my program crashed(acess v..) many times, but it got ac after i have commented this code! i suppose there is no data that can make this code crash...maybe there are some troubles in Intel C++ compiler ? for(int i=int(add.size())-1;i>=0;--i) ____for(int j=int(rem.size())-1;j>=0;--j) ________if(add[i]==rem[j]) ____________add.erase(add.begin()+i), ____________rem.erase(rem.begin()+j); Edited by author 25.06.2007 16:34 |
|
|