问题:使用vscode(gcc)编译软件报错 没有<conio.h>头文件(ubuntu)
解决方法:从网上下载缺失的conio.h头文件并添加
下载连接GitHub - zoelabbb/conio.h: This is a library conio.h for linux 🖥️. you can install manual library conio.h for linux step by step here.将<conio.h>文件复制粘贴到 /usr/include/ 目录
vscode Ctrl+shift+P 搜索 C/C++:Edit Configurations
(可以在UI界面修改也可以直接修改JSON文件)
在includePath添加/usr/include/**(如图)
退出重新进入vscode即可