elsfk.c:4:10: fatal error: conio.h: No such file or directory #include <conio.h> ^~~~~~~~~ compilation terminated.
时间: 2023-10-29 22:06:23 浏览: 81
这个错误提示是因为您的代码中使用了 `conio.h` 头文件,而这个头文件是 Windows 系统特有的,不适用于 Linux 或 Mac 等其他操作系统。如果您想在 Linux 或 Mac 上使用类似的功能,可以考虑使用类似 ncurses 库的跨平台解决方案。如果您只是想在 Windows 上编译运行此代码,可以使用 Visual Studio 或 MinGW 等开发环境。