Namespaces
Variants
Views
Actions

std::getchar

From cppreference.com
< cpp‎ | io‎ | c
Revision as of 18:54, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
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

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