What is difference between Getchar( ) , Getch ( ) , Getche ( ) ?
Getchar ( ) - It will accept a character from keyboard , displays immediately while typing and we need to press Enter key for proceeding.
Getch ( ) - It just accepts a keystroke and never displays it and proceeds further. Normally we use it at the end of the main ( ).
Getche ( ) - It will accept a character from keyboard , displays it immediately and does not wait for Enter key to be pressed for proceeding.
Difference between Getchar( ),Getch( ) ,Getche( )
Sunday, January 31, 2010
Labels:
C programming
Posted by
umesh sir
at
3:24 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment