C ++. Copy Code. if(size > 0) { while (fscanf(fp, " %s %d", ip, ... Your while loop will cover the case that the file is emply anyway.
確定! 回上一頁