Defined in header
int fgetc( FILE *stream );
int getc( FILE *stream );
Reads the next character from the given input stream. getc() may be implemented as a macro.
|stream||-||to read the character from|
Next character from the stream or EOF if an error has occurred or the end of file has been reached.
| reads a character string from stdin(until C++14) |
| writes a character to a file stream |
| puts a character back into a file stream |
C documentation for fgetc, getc