📄 eo
字号:
@c ----------------------------------------------------------------------
@node EOF, stdio
@heading @code{EOF}
@subheading Syntax
@example
#include <stdio.h>
if (c == EOF)
@end example
@subheading Description
This macro defines the value returned by stdio functions to indicate
that the end of the file has been reached. Note that variables
expected to hold this value must be wider than characters; EOF does
not match any character value.
@subheading Example
int c;
while ((c = getchar()) != EOF)
do_it(c);
@example
@end example
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -