sometimes I see
for(vector<int>::iterator it=a.begin();it!=a.end();it++){
}
and sometimes
for(vector<int>::iterator it=a.begin();it!=a.end();++it){
}
It seems no difference when I try to print some vector to test, but not sure if it has some difference in side effect, is there any difference between them?