User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:getche

This is an old revision of the document!


getche

description of getche

#include<stdio.h>
#include<conio.h>
 
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.1359905232.txt · Last modified: 2024/02/16 01:03 (external edit)

Impressum Datenschutz