C for

int i;

for(i=0;i<2;i++){

}

等同于

if(i<2){

toDo Something

}

posted @ 2012-09-18 15:43  Epirus  阅读(199)  评论(0)    收藏  举报