摘要:
(1)break直接调出当前循环体。如果是嵌套循环,他只能调出一层循环体。Exp-1:程序:#includeusing namespace std;int main(){ for(int i=0;iusing namespace std;int main(){ for(int i=0;i<3;i++) { cout<<"the first circle"<<" "<<i<<endl; for(int j=0;j<3;j++) { if(j==1) continue; cou... 阅读全文
posted @ 2013-10-06 20:49
DreamTop
阅读(535)
评论(0)
推荐(0)

浙公网安备 33010602011771号