User Tools

Site Tools


Programming Reference/Librarys

Question & Answer

Q&A is closed



description of getche

Reads a character from the keyboard and display it on the screen.

reads a single character from the keyboard, and there are direct or via a BIOS call made ​​in the current text window.

int main( void )
   printf("Enter a character : "); 
   char ch;
   ch = getche();
   printf("The character was %c",ch);
   return 0;

output of getchec example

   Enter a character : a
   The character was a

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/conio.h/getche.txt · Last modified: 2024/02/16 01:05 (external edit)

Impressum Datenschutz