VScode使用bitstdc++.h头文件

    科技2022-08-09  105

    1.创建c_cpp_properties.json文件

    2.编辑c_cpp_properties.json文件

    搜索包含bits/stdc++.h的文件夹目录: 将路径写入"includePath":

    { "configurations": [ { "name": "Win32", "includePath": [ "${workspaceFolder}/**", "D:/2019Download/GCC9.2/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/**" //关键 ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "windowsSdkVersion": "10.0.18362.0", "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe", "cStandard": "c11", "cppStandard": "c++17", "intelliSenseMode": "msvc-x64" } ], "version": 4 }
    Processed: 0.011, SQL: 9