User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:getch
click
to support this page (eg 0,42 € or so) Thanks.

getch

int getch();

description of getch

prompts the user to press a character and that character is not printed on screen

#include <stdio.h>
#include <conio.h>
 
int main (void) 
{
 
   int c;
   printf("type in a letter on your keyboard :");
   c = getch();
   putch(c);
   return 0;
 
}

output of getchc example

  type in a letter on your keyboard : x
  x
advertising
c/conio.h/getch.txt · Last modified: 2014/07/05 10:24 by 119.165.12.216

Impressum