首先true是布尔值1,所以等价于while(1),既条件永远成立。如果想退出,有个break或者exit之类就行。如: i=0; while(true) { i++; printf("%d ",i); if(i==10) break; ...
確定! 回上一頁