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

From Wikibooks, open books for an open world
Jump to: navigation, search

getchar[edit]

Syntax
#include <cstdio>
int getchar( void );

The getchar() function returns the next character from stdin, or EOF if the end of file is reached.

Related topics
fgetc - fopen - fputc - putc