Conio.h Not found in c?
I am trying to include the conio.h library in C but it keeps saying it's not found...
use #include<curses.h> in place of #include<conio.h>
as said before;
getch() becomes getchar()
Try printing the ANSI code \033[2J.
I'm not trying to use getch() I'm trying to use clrscr()
If you need getch()
, look at getchar()
. Anything more, look at curses.
conio.h is a compiler-specific header file, and GCC doesn't support it.
conio.h is a compiler-specific header file, and GCC doesn't support it.
Ahem: Windows vendor lock in.
@SixBeeps Isn't Repl a compiler
@Crcoli7307 repl uses a compiler for linux
im used to seeing conio.h for windows machines which may be why the repl compiler cant find it
try
https://stackoverflow.com/questions/7469139/what-is-the-equivalent-to-getch-getche-in-linux
if you need a linux equivalent for getch
Same problem with me