Likewise, when a file is written to, the next character goes to the end of the file.
同样地,当向某个文件写入时,下一个字符被写到文件结尾。
By default, the end-of-file string is an underscore (_); if that character is sent as a single input argument, everything after it is ignored.
缺省情况下,文件结束字符串是下划线(_);如果将该字符作为单个输入参数来发送,则它之后的所有内容将被忽略。
This method is used to read every character until the end of the file (marked by a -1).
这个方法用来读取文件的每一个字符,一直读到文件末尾(以 -1 为标志)。
应用推荐