different between getch() and getche()?

getch() blindly gets a character.
getche() echos the character.

Both of which you would have been able to answer in seconds by trying them.

But, avoid using them because they are not standard and are only supported in a couple compilers.

What ever happened to reading the manual?

Passe. When you can get an anwser in hours by posting a question and spending no effort, why spend the energy to open the manual and get the answer in seconds?

commented: a BIG LOL +2

hi

My points of view both are same.

if you use getch() in any program then you can enter any character but that character is never echoed on output screen but in case of getche ...the char is echoed...u can find the difference by implementing it yourself

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.