C ++檔案讀取&存檔. /* 請寫一程式讀入rand.txt內的1000個數值, 算出這1000個數值的平均值,顯示於screen上 ... i=atoi(test); //文字陣列轉int sum=sum+i; count+=1;
確定! 回上一頁