Getch(), conio.h library in C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Getch(), conio.h library in C++

Hello everyone, I have to ask you for help. Is here any substitutions for getch()/getche(), and conio.h library? Thank you for answering.

16th May 2021, 3:46 PM
Ku Ce
Ku Ce - avatar
6 Answers
+ 6
Ku Ce Typically, we've noticed questions related to Turbo C++ are from Indian college students who are surprised to learn they are using a legacy compiler that's been outdated for over 2 decades, which makes it an ancient relic in software engineering. However, your profile indicates you're from Ukraine. I'm curious, if a similar trend exists in your country where the curriculum is teaching material that will need to be unlearned in the real world. Or... perhaps you're asking about this based on reviewing some material that makes reference to these nonstandard libraries. Thanks for any insight you can share on this.
16th May 2021, 8:09 PM
David Carroll
David Carroll - avatar
+ 6
Ku Ce Ah... That makes sense. That book was probably published in the 90s. Whew... I was worried there might be some new widespread, prolific emergence of CS graduates entering the software engineering workforce coming out of universities who value teaching Turbo C++. While it's still unclear why Turbo C++ still seems to be prevalent only from college students from India, it does seem to be contained only within that country. It's an unfair situation for these students as they'll be entering the workforce at a global competitive disadvantage in terms of skills and capabilities compared to graduates from other parts of the world. Hopefully, this isn't an overall indication of an old curriculum still reflecting many other outdated industry practices and designs from the same time period.
16th May 2021, 9:09 PM
David Carroll
David Carroll - avatar
+ 4
Martin Taylor they won't stop showing up lol
17th May 2021, 2:14 AM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 3
I ask because I have seen many examples of this library in books from Lafore
16th May 2021, 8:26 PM
Ku Ce
Ku Ce - avatar
+ 1
Hey Ku Ce you can use all " C programming " functions in " CPP " ! you don't need substitution !
16th May 2021, 3:56 PM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar
+ 1
getchar()
16th May 2021, 6:37 PM
Jan
Jan - avatar