User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:getch

This is an old revision of the document!


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 = getchar();
   putchar(c);
   return 0;
 
}

output of getchc example

  type in a letter on your keyboard : x
  x
advertising
c/conio.h/getch.1359904895.txt · Last modified: 2013/02/03 16:21 by 158.181.88.241

Impressum Datenschutz