⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fe

📁 Algorithms for Image Processing and Computer Vision Source Code
💻
字号:
@c ----------------------------------------------------------------------
@node feof, stdio
@heading @code{feof}
@subheading Syntax

@example
#include <stdio.h>

int feof(FILE *file);
@end example

@subheading Description

This function (actually a macro) can be used to indicate if the given
@var{file} is at the end-of-file or not. 

@subheading Return Value

Nonzero at end-of-file, zero otherwise.

@subheading Example

@example
while (!feof(stdin))
  gets(line);
@end example

@c ----------------------------------------------------------------------
@node ferror, stdio
@heading @code{ferror}
@subheading Syntax

@example
#include <stdio.h>

int ferror(FILE *file);
@end example

@subheading Description

This function (actually a macro) can be used to indicate if the given
@var{file} has encountered an error or not.  @xref{clearerr}

@subheading Return Value

Nonzero for an error, zero otherwize.

@subheading Example

@example
if (ferror(stdin))
  exit(1);
@end example

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -