You only need to modify the Include path setting if your program includes header files that are not in your workspace or in the standard library path.
Visual Studio code places these settings in .vscode/c_cpp_properties.json. If you open that file directly, it should look like this (depending on your specific Mingw-w64 path):
{
“configurations”: [
{
“name”: “Win32”,
“includePath”: [
“
w
o
r
k
s
p
a
c
e
F
o
l
d
e
r
/
∗
∗
"
,
"
{workspaceFolder}/**", "
workspaceFolder/∗∗","{vcpkgRoot}/x86-windows/include”
],
“defines”: [
“_DEBUG”,
“UNICODE”,
“_UNICODE”
],
“windowsSdkVersion”: “10.0.17763.0”,
“compilerPath”: “C:\mingw-w64\x86_64-8.1.0-win32-seh-rt_v6-rev0\mingw64\bin\g++.exe”,
“cStandard”: “c11”,
“cppStandard”: “c++17”,
“intelliSenseMode”: “${default}”
}
],
“version”: 4
}