View Single Post
Join Date: May 2009
Posts: 10
Reputation: patria987 is an unknown quantity at this point 
Solved Threads: 0
patria987 patria987 is offline Offline
Newbie Poster

Re: Difference betn getch(),getche(),getchar() functions

 
0
  #9
May 29th, 2009
Originally Posted by comwizz View Post
I would like to know what is the difference betn
getchar(),getch(), and getche() functions and which should be used in which conditions.
Thanks,
comwizz.
getche-displays the character that u have typed on the screen
getch-just returns the character that had been typed without displaying on the screen.
getchar-works similar as getche but needs an ENTER followed by the char typed...(macro version)
Reply With Quote