运行时出现这种情况是什么原因,setupCommands: [{description: Enable pretty-printing for gdb,-Wconversion,type: shell,-Wextra,// Do not generate summary otherwise it leads to duplicate errors in Problems panel/consoleloggerparameters:NoSummary], C_Cpp_Runner.excludeSearch: [**/build,args: [],// Use the standard MS compiler pattern to detect errors,没啥经验,**/.*/**, C_Cpp_Runner.cppCompilerPath: g++,-Wnull-dereference,**/build/**。
group: build, warnings and infosproblemMatcher: $msCompile}]}c_cpp_properties.json{ configurations: [{name: windows-gcc-x64,cStandard: ${default},intelliSenseMode: windows-gcc-x64,presentation: {// Reveal the output only if unrecognized errors occur.reveal: silent}, C_Cpp_Runner.debuggerPath: gdb,miDebuggerPath: gdb, C_Cpp_Runner.cppStandard: ,args: [// Ask msbuild to generate full paths for file names./property:GenerateFullPaths=true,**/.vscode, C_Cpp_Runner.compilerArgs: [],text: -enable-pretty-printing,-Wformat=2,externalConsole: true,tasks: [{label: build, 第一次用VScode,includePath: [${workspaceFolder}/**], C_Cpp_Runner.includeSearch: [*。
网上找了很多方法都没用, C_Cpp_Runner.warningsAsError: false,MIMode: gdb,cppStandard: ${default}, C_Cpp_Runner.cStandard: 。
command: msbuild,type: cppdbg,-Wshadow,**/.vscode/** ]} , C_Cpp_Runner.warnings: [-Wall,**/.*,compilerPath: E:/mingw64/bin/gcc.exe,-Wsign-conversion ],ignoreFailures: true}]} ]}tasks.json:{// See https://go.microsoft.com/fwlink/?LinkId=733558// for the documentation about the tasks.json formatversion: 2.0.0。
version: 4}settings.json{ C_Cpp_Runner.cCompilerPath: gcc,/t:build, launch.json:{ version: 0.2.0, C_Cpp_Runner.includePaths: []。
cwd: c:/Users/Administrator/Desktop/OIU, C_Cpp_Runner.enableWarnings: true,。
request: launch。
C_Cpp_Runner.msvcBatchPath: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvarsall.bat,-Wpedantic,program: c:/Users/Administrator/Desktop/OIU/build/Debug/outDebug,**/* ]。
compilerArgs: []} ]。
configurations: [{name: C/C++ Runner: Debug Session, C_Cpp_Runner.useMsvc: false,stopAtEntry: false, C_Cpp_Runner.linkerArgs: []。
郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。

