Namespaces
Variants
Views
Actions

getchar

From cppreference.com
< c‎ | io
Revision as of 21:34, 2 November 2012 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

Template:c/io/dcl list fgetc
C++ documentation for getchar