+ 1
what is function of getch
5 Réponses
+ 8
getch() is a nonstandard function and is present in conio.h header file which is mostly used by MS-DOS compilers like Turbo C.
It is not part of the C standard library or ISO C, nor is it defined by POSIX (Source: http://en.wikipedia.org/wiki/Conio.h)
It reads a single character from keyboard. But it does not use any buffer, so the entered character is immediately returned without waiting for the enter key.
+ 2
you can insert the code so that we can help
use insert option just below your comment
+ 1
getch is a function it is included in header file conio.h
+ 1
did you mean what does it do ?
oh it depends where you are using it
Sometimes it is used to program execution or else it is used to input a charecter
- 1
what can I do when my program ask me to input some number