Sometimes i see the following error and the code doesn't compile..but after several attempts, all of a sudden a successful compile occurs....but why this is happening?
Linking console executable: bin\Debug\test_1.exe
C:\Program Files\CodeBlocks\MinGW\bin\ld.exe: cannot open output file bin\Debug\test_1.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings