while(1)
代表無窮迴圈 裡面的1表示true
程式就會一直無窮的run下去.
Brian 發表在 痞客邦 留言(0) 人氣(7)
#include<stdio.h>
#include<stdlib.h>
int main(){
int i=1 , j , sum=0;
Brian 發表在 痞客邦 留言(0) 人氣(45)
#include<stdio.h>
#include<stdlib.h>
int main(){
Brian 發表在 痞客邦 留言(0) 人氣(24)
printout 每一個計算結果直到變數等於1.
以下是計算範例:
Brian 發表在 痞客邦 留言(0) 人氣(4)
#include<stdio.h>
#include<stdlib.h>
int main(){
int i,x,y;
Brian 發表在 痞客邦 留言(0) 人氣(4)
遞增
int x,i;
scnaf("%d",&x); 輸入x變量
Brian 發表在 痞客邦 留言(0) 人氣(0)
Brian 發表在 痞客邦 留言(1) 人氣(1,495)
#include<stdio.h>
#include<stdlib.h>
int main(void){
Brian 發表在 痞客邦 留言(0) 人氣(9)

這好像還蠻合理的
Brian 發表在 痞客邦 留言(0) 人氣(1)
#include<stdio.h>
#include<stdlib.h>
int main(){
Brian 發表在 痞客邦 留言(0) 人氣(5)