Defined in header <cstdio>
Reads the next character from stdin.
 Return value
The obtained character or EOF if an error has occurred or the end of file reached
 See also
| gets a character from a file stream |
C documentation for getchar