+ 6
getch()
Even if i don't mention this in a C program also i am getting the same o/p. Then whats is the use of this
10 Respuestas
+ 12
Martin Taylor 🤣😭😂
'... Which is a disgusting "bodge" of the first order.'
OMG... I just want to say how much I enjoy your colorful flavor of sharing your critical opinions as a veteran professional - rich with decades of real world experience. 🙏🍻
In other words, I "getch()" ya...
I really, really "getch()" ya. 😂🤣👌
+ 6
See this:
https://www.youth4work.com/Talent/c-language/Forum/113752-what-is-the-purpose-of-getch-function-in-c#:~:text=Getch()%20function%20is%20need,the%20output%20on%20the%20screen.
Maybe Martin Taylor can give a better answer
+ 2
In simple words it just holds the output screen and it is mainly used in turbo c or c++. In Microsoft Visual Studio IDE it is not used. Microsoft Visual has its own configuration.
+ 2
getch() function use for hold the output in screen, This function not used in all IDE, I was see this In only Turbo C IDE.
May be Only Turbo C needed this to hold output.
+ 1
Program runs without getch() in C language...But if u write getch() user gets the o/p screen as soon as executing the program. Otherwise After executing We ve to press Alt+F5 to see the o/p screen....
- W.r.t Turbo C2 ( c compiler)
+ 1
Some c, c++ ide doesn't hold the output and we can't see the result so we use it to hold it