Note that you must provide the end-of-file character when you're finished typing—typically, Ctrl-D.
请注意,您在结束键入时必须提供文件结束字符,通常为 Ctrl-D。
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为标志)。
Likewise, when a file is written to, the next character goes to the end of the file.
同样地,当向某个文件写入时,下一个字符被写到文件结尾。
Notice that the lines in the file are distinguished by a newline (or end-of-line) character.
请注意,在文件中,行之间用新行(或行结束)字符区分。
The input is a question, that is any text file containing at least one character (end of line is not a character).
输入的是一个问题,至少包含一个字符(行结束符不算一个字符)。
We are not able to push back EOF. But when we've reached the end of the file, we can push back a character.
我们不能推回一个EOF,但是当我们到达文件的结尾时,我们可以推回一个字符。
CE_RXOVER An input buffer overflow has occurred. There is either no room in the input buffer, or a character was received after the end-of-file (EOF) character.
接收缓冲区发生溢出错误。接收缓冲区没有足够的空间,或者有字符出现在了EOF字符后。
CE_RXOVER An input buffer overflow has occurred. There is either no room in the input buffer, or a character was received after the end-of-file (EOF) character.
接收缓冲区发生溢出错误。接收缓冲区没有足够的空间,或者有字符出现在了EOF字符后。
应用推荐