i have already installed compiler MINGW for c++/c files.. I've set up the json files like the MS website suggests, here is my json file
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"compilerPath": "C:\\MinGW\\bin\\gcc.exe",
"cStandard": "gnu11",
"cppStandard": "gnu++14",
"intelliSenseMode": "windows-gcc-x86"
}
],
"version": 4
} and still got the following error :-
cd "d:\codes\C-LANGUAGE\" ; if ($?) { gcc q3.c -o q3 } ; if ($?) { .\q3 }
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../libmingw32.a(main.o):(.text.startup+0xa0): undefined reference to `WinMain@16'
after installing mingW compiler i get above error