c++ - win10下 vscode配置C开发环境的问题 在终端gcc编译可以运行 但是这个下划线的提示是什么意思?
本文介绍了c++ - win10下 vscode配置C开发环境的问题 在终端gcc编译可以运行 但是这个下划线的提示是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
解决方案
具体见:https://stackoverflow.com/que...
You have to create a c_cpp_properties.json first (use Ctrl+Shift+P and "C/Cpp: Edit Configurations" command).
Add inlude paths as,
{
"configurations": [
{
"name": "Win32",
"includePath": [
"path_to_your/MinGW/lib/gcc/mingw32/4.8.1/include/c++"
],
"browse": {
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
]
}
这篇关于c++ - win10下 vscode配置C开发环境的问题 在终端gcc编译可以运行 但是这个下划线的提示是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文