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

From Wikibooks, the open-content textbooks collection

< C++ Programming | Code | Standard C Library | Functions
Jump to: navigation, search

[edit] getchar

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
Personal tools
Create a book
  • Add wiki page
  • Collections help