fscanf (Input,"%c%f",&char_name,&amount);. will fail to read a float upon hitting the last data line in the file. The switch statement is not needed ...
確定! 回上一頁