getch() is not an ANSI C function. You need to include the header file <conio.h> to use it. Or best of all, just use the ANSI conformant function getchar().
4
solved What’s wrong with my program (getch function)?
getch() is not an ANSI C function. You need to include the header file <conio.h> to use it. Or best of all, just use the ANSI conformant function getchar().
4
solved What’s wrong with my program (getch function)?