赞
踩
在打开代码目录中建立目录.vscode,目录中存放c_cpp_properties.json,内容如下,可以准确识别代码定义,否则会有很多波浪线,提示代码无法识别。
{ "configurations": [ { "name": "Win32", "includePath": [ "${workspaceFolder}/**", "D:/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++", "D:/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/x86_64-w64-mingw32", "E:/linux_include", "E:/collection-platform/lib/inc" ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "compilerPath": "D:\\mingw64\\bin\\g++.exe", "cStandard": "gnu17", "cppStandard": "gnu++14", "intelliSenseMode": "windows-gcc-x64" } ], "version": 4 }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。