Permission Denied building CPP file in Visual Studio Code
When I run the below given code on Visual Studio Code, first Building it, but it shows: > Executing task: g++ -g main.cpp < d:/software/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: cannot open output file a.exe: Permission denied collect2.exe: error: ld returned 1 exit status The terminal process…