View Single Post
Join Date: Jun 2008
Posts: 9
Reputation: rocky2008 is an unknown quantity at this point 
Solved Threads: 0
rocky2008 rocky2008 is offline Offline
Newbie Poster

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

 
0
  #7
May 27th, 2009
getch() returns the character you typed without displaying it on the screen.
getche() returns the character you typed by displaying(echoing) it on the screen.
and finally, getchar() works similarly and echos the character that u typed on the screen after "enter" is given.
hope you understood!!
all the best !!

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.
Regards,
Rocky.
Reply With Quote