c++ – Visual Studio Code Not allowing cpp code to run. Showing Error: Permission Denied
I am having problems running the c++ code in visual studio, due to permission denied.

Code can be ran file explorer. How do I “allow permission” to visual studio code? Image below to show, it could be ran from the file explorer.

Please guide this young one..
I have checked user access control, there was nothing to change.
Executable file runs through file explorer.
File isn’t able to be executed through visual studio code.
What should happen is “press play” on visual studio code. File should run and allow inputs.
What really happened: Doesn’t allow inputs or runs the file. Error: Permission Denied
Read more here: Source link
