Windows and Avast are blocking the compilation of programs in C

Whenever I worked with C language, I used College computers, so I never had problems compiling and running them in the Dev-c++IDE. Currently, I installed on my machine version 5.11, but I only went to try to use it today. For testing, I wrote some pretty basic code, saved it, and when I clicked "compile and run", I got an alert that I had never come across before:

Cannot open output file (...)\test.exe: Permission denied [Error] ld returned 1 exit status

Next to the error, Avast opens a navigation window, stating:
"

We just protected your file

Id.exe is trying to change or delete the Tests file.Exe in your protected folder Documents.

"

What would be the procedure to be able to compile and run the programs normally and prevent the antivirus from reading it before its execution (as this would make the process much slower). ?

 0
Author: Guilherme Ponsoni Ferreira, 2018-07-31

1 answers

Just go to the avast icon near the clock (bottom right) > right-click on it > go to" control of Avast modules " > and disable it for as long as necessary. Hug!

 -2
Author: Guilherme Evangelista, 2018-08-01 02:45:05