-
Difference between revisions of "Functions HI-TECH C GETCHAR"
From HI-TECH C for CP/M Fan WIKI(EN)
(Created page with "<strong>GETCHAR</strong> ==SYNOPSIS== #include <stdio.h> int getchar(void) ==DESCRIPTION== <strong>Getchar</strong>() is a <strong>getc(stdin)</strong> operation. It...") |
|||
Line 14: | Line 14: | ||
<strong>getch</strong>(). | <strong>getch</strong>(). | ||
− | SEE ALSO | + | ==SEE ALSO== |
getc, fgetc, freopen, fclose | getc, fgetc, freopen, fclose |
Latest revision as of 11:48, 20 December 2017
GETCHAR
SYNOPSIS
#include <stdio.h> int getchar(void)
DESCRIPTION
Getchar() is a getc(stdin) operation. It is a macro defined in stdio.h. Note that under normal circumstances getchar() will NOT return unless a carriage return has been typed on the console. To get a single character immediately from the console, use the routine getch().
SEE ALSO
getc, fgetc, freopen, fclose