+ 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

21st Sep 2020, 1:37 PM
Naveen
Naveen - avatar
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. 😂🤣👌
21st Sep 2020, 4:45 PM
David Carroll
David Carroll - avatar
+ 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
21st Sep 2020, 1:43 PM
The future is now thanks to science
The future is now thanks to science - avatar
+ 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.
22nd Sep 2020, 4:00 AM
VSR [ DEV ]
VSR [ DEV ] - avatar
+ 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.
22nd Sep 2020, 3:09 PM
Aaditya Pramod Burujwale
Aaditya Pramod Burujwale - avatar
+ 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)
22nd Sep 2020, 1:29 PM
$aiNadh
$aiNadh - avatar
+ 1
Some c, c++ ide doesn't hold the output and we can't see the result so we use it to hold it
23rd Sep 2020, 9:35 AM
Arshia
Arshia - avatar