hey why cant i use conio.h in cpp | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

hey why cant i use conio.h in cpp

i was writing a small program where i used getch() so for that there should be a header file so i included #include<conio.h> it successfully ran then i copied that program and tried to online compile it then i got this message of error can u please solve my problem?

18th Feb 2023, 3:40 PM
SHRAVAN
SHRAVAN - avatar
1 Answer
+ 6
conio.h header file is non-standard header file. Also deprecated. So not work here and in most modern compilers.
18th Feb 2023, 4:07 PM
Jayakrishna 🇮🇳