+ 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...!
3 Antworten
+ 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
+ 3
This is because the server, which SoloLearn C and C++ Playgrounds use, does not have the "conio.h" library. That is it.
0
🙂