Sublime text not working properly

whenever I build my program by pressing Ctrl+Shift+B it showing the screen attached.

Neither of C++ single file or C++ single file- run is working
what to do ?

Hi Ananya, from the console error it seems that access is denied to sublime, just make sure that no software(antivirus) is causing this.
Also I assume that you have already added mingw/bin to your system path.
If it still doesn’t work let me know!

I have done everything possible. I don’t know what to do now

take a look here


and follow this advice:
I don’t know what may be the technical issues. But I solve the Issue as following

In Sublime, I usually create one file (run.cpp). One day while running the error(access denied) shows. I created a new file (test.cpp) and copied the whole program from run.cpp and pasted in test.cpp there the code run successfully. And later on I deleted the run.cpp file and created a new one.

Hope it’ll work.

I have already done that,it is working but then whenever i make even a small change in my code I have to copy paste the whole code again. Is there an alternative to that?

You may reinstall the sublime, this helped me when I faced similar problem.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.