+ 2

I can not run my code while adding the conio.h directory, what do i do?

I have read about the conio.h directory and when i run my program, it gives an error. I don't know where it went wrong...!

9th Feb 2021, 6:03 PM
SIBGHA BATOOL
SIBGHA BATOOL - avatar
3 ответов
+ 4
It's part of Turbo C++. Don't use it. Only if you are forced to do so. Quoting Martin Taylor: Turbo C++ is a 30 year old, 16-bit, msdos compiler from the era of single tasking personal computers. Using Turbo C++ does not teach the basics from scratch. Using conio.h and graphics.h is teaching you how to program for 16-bit ms-dos computers specifically. It's all smoke and mirrors getting coloured text in the console and painting ovals on screen when you can't even use an ansi compliant #include statement. Basically you are being taught an archaic dialect of C, using cin and cout and calling it C++. https://www.sololearn.com/discuss/288609/?ref=app https://www.sololearn.com/discuss/1337133/?ref=app https://www.sololearn.com/discuss/202265/?ref=app
9th Feb 2021, 7:51 PM
Benjamin Jürgens
Benjamin Jürgens - avatar
+ 3
This is because the server, which SoloLearn C and C++ Playgrounds use, does not have the "conio.h" library. That is it.
9th Feb 2021, 6:11 PM
#0009e7 [get]
#0009e7 [get] - avatar
0
🙂
30th Sep 2023, 6:40 PM
Muhammad Ehtisham
Muhammad Ehtisham - avatar