This could be that the compiler is not seeing the included header file.
for statement #include <conio.h>
make sure your conio.h
header file is in your compilers directory. else you can use #include "conio.h"
and place the header file conio.h in the current project directory.
This header declares several useful library functions for performing “console input and output” from a program. Most C compilers that target DOS, Windows 3.x, Phar Lap, DOSX, OS/2, or Win32 have this header and supply the associated library functions in the default C library. Most C compilers that target UNIX and Linux do not have this header and do not supply the library functions.
1
solved Why is it not compiling in Dev C++