Namespaces
Variants
Views
Actions

std::getchar

From cppreference.com
< cpp | io | c
Revision as of 14:57, 4 May 2012 by P12bot (Talk | contribs)

Template:cpp/io/c/sidebar

Defined in header <cstdio>
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]