Jump to content

C++ Programming/Code/Standard C Library/Functions/fgetc

From Wikibooks, open books for an open world

fgetc

[edit | edit source]
Syntax
#include <cstdio>
int fgetc( FILE *stream );

The fgetc() function returns the next character from stream, or EOF if the end of file is reached or if there is an error.

Related topics
fopen - fputc - fread - fwrite - getc - getchar - gets - putc