The problem is that <conio.h>
does not work on modern compilers . It only works on old IDE’s ones like TurboC++ and DevC++ ( They are very old, TurboC++ was used in the 20th century, no one hardly uses it anymore ). So, in short, it won’t work unless you get an old compiler ( which is not a good idea ).
2
solved How to use old commands in new compilers? [duplicate]