Breaking News
Loading...

Difference between getch(), getchar(), and getche()?

 Getchar() will accept a character from keyboard displays immediately while typing and need Enter key to pressed for proceeding

Getch() Normally we will use it at the end of the main(). It just accepts a key stroke and never displays it and proceeds further.


Getche() will accept a character from keyboard display it immediately does not wait for Enter key to pressed for proceeding.


0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Toggle Footer