c++ - Code::Blocks Error: Cannot Open Output File, Permission Denied -


i have searched question on internet, including stack overflow, , have not found answer solves problem.

i running code::blocks ide on windows 10. when try build (and run) program, c::b gives me error:

cannot open output file bin\debug\multidimensionalarrays.exe permission denied 

so, people have said restart c::b - doesn't work; temporarily disable antivirus (avast) - doesn't work; delete .exe file manually - doesn't work (says file open in system); go task manager , kill 2 (yes, two) multidimensionalarrays.exe processes - doesn't work; download process explorer kill process tree - doesn't work; of above administrator - doesn't work.

(by way, when didn't have problem, needed disable avast anyway, because when enabled wasn't able run program.)

i've tried restarting computer, alas, doesn't work.

so...any suggestions? want on c++ have deal annoying problem first.

p.s. if want @ code reason:

#include <iostream>  using namespace std;  int main(){      int chicken[2][4] = {{15, 25, 35, 45}, {16, 26, 27, 28}};      for(int row = 0; row < 2; row ++){          for(int column = 0; column < 4; column ++){                 cout << chicken[row][column] << " ";         }          cout << endl;       } } 

i suppose codeblocks cannot open exe files.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -