Hello I'm new here.
I need a function in 'C' that just pauses until the user hit's the enter key.
I wanted to use getchar() however that function opens a stdio window which closes the main user window. So that's no good for me neither is scanf() it does the same thing.
Next I decided to look in the ansi stdio.h file to find a keyboard function I know getchar() has to use some sort of keyboard() to get the characters.
however the stdio.h stuff does not clearly show how getchar() is written or perhaps my windows system is not showing me clearly.
SO can someone please point me to a function such keyboard and where it is located in the ansi 'C' library. Or even one you have written yourself.
I need a function in 'C' that just pauses until the user hit's the enter key.
I wanted to use getchar() however that function opens a stdio window which closes the main user window. So that's no good for me neither is scanf() it does the same thing.
Next I decided to look in the ansi stdio.h file to find a keyboard function I know getchar() has to use some sort of keyboard() to get the characters.
however the stdio.h stuff does not clearly show how getchar() is written or perhaps my windows system is not showing me clearly.
SO can someone please point me to a function such keyboard and where it is located in the ansi 'C' library. Or even one you have written yourself.
Comment