what is the difference between getch() & getche()

M

Mark McIntyre

Repost. Damned spell checker.

nono, "etch" was much more interesting. I mean, which programmer ever
cornered someone at a party and offered chance to see their getchings?
Mark McIntyre
 
M

Mark B

srikanth said:
help me out with the subject

Being as no one else in this group is willing to help you,
I've decided to take a stab at it myself.

Your question:
what is the difference between getch() & getche()

The answer you've been patiently waiting for:
The second function has an 'e' at the end of the name
and the first one does not.

HTH,
Mark
 
R

Richard Heathfield

B. P. TBC said:
srikanth írta:
getch(): reads a char from the keyboard. It doesn't echoes it to the
screen. getche(): reads a char from the keyboard and echoes it to screen.

In Zog C, getch() GETs a Cluster from the Hard disk - or at least it did
back in 1999.
 
B

Ben Pfaff

Richard Heathfield said:
B. P. TBC said:

In Zog C, getch() GETs a Cluster from the Hard disk - or at least it did
back in 1999.

And getche() summons a Cuban revolutionary?
 
C

CBFalconer

Mark said:
Being as no one else in this group is willing to help you,
I've decided to take a stab at it myself.

What do you mean? I posted a reply with an implementation of both
getch and getche in standard C about 30 hours ago.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>
 
O

osmium

CBFalconer said:
What do you mean? I posted a reply with an implementation of both
getch and getche in standard C about 30 hours ago.

It is my opinion that telling a joke twice doesn't make it any funnier. If
they didn't appreciate it on the first telling, they are unlikely to enjoy
it any more the second time they hear it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top