eo
来自「Algorithms for Image Processing and Comp」· 代码 · 共 28 行
TXT
28 行
@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 + =
减小字号Ctrl + -
显示快捷键?