Namespaces
Variants
Views
Actions

getchar

From cppreference.com
< c‎ | io
Revision as of 22:36, 31 May 2013 by P12bot (Talk | contribs)

Defined in header <stdio.h>
int getchar();

Reads the next character from stdin.

Parameters

(none)

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
(function) [edit]
C++ documentation for getchar