Do you really want to send r00k123 a message saying you like their work?
#include <stdio.h>
int fgetc( FILE* file_pointer );
This function returns the next character from the file referenced by file_pointer. Returns EOF if end of file is reached or error occurs.
See also getchar().
Back to Essential C Functions.