fscanf — trying to scan txt file of ints, fscanf only reads 1s我正在 ... while (fscanf(file,"%d", &number) == 1) 是适当的条件,因此不要在循环 ...
確定! 回上一頁