一句话总结:mac无法安装 conio.h 库,装 MinGW 也不行,看到这里可以换Windows了。因为conio.h 是 windows 独有的头文件。同理 windows.h 也不行。 #include <conio.h> #include <windows.h>