In a file there is another special hidden char, EOF, marking the end of the file. ... char fscanf(infile,"%s", array); // read a string from file into array ...
確定! 回上一頁