I have been learning c language lately. To Run my programs I’ve been using an online compiler but i wanted to try out vs code. Hence I started by installing Vs code and all the extensions for c which include(c/c++, code runner, cmake, ctools, c/c++ extension pack). After this I installed MingGW from sourceforge which I have added to my path. So i am able to compile and run programs from cmd. But I am not able to do so from Vs code. I have attached a screen shot below. Please help me configure it, as I am unable to figure out the issue.
- Added mingwbin to my Path.
- Vs code added to my path
- Configured MinGWbingcc.exe as my default build task.
- There is a task.json file in my .vscode folder which was generated by vs code itself.
- Tried Reinstalling vs code and MinGW from multiple sources and Multiple times.
- Tried Manually compiling and running my scripts through cmd, Which works.
sanjayp006 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.