[問題] codeblocks編譯問題

看板C_and_CPP作者 (讓自已更好)時間12年前 (2013/08/21 16:51), 編輯推噓2(203)
留言5則, 4人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) windows 8 錯誤結果(Wrong Output): ld.exe||cannot open output file bin\Debug\Chap15.exe Permission denied| ||=== Build finished: 1 errors, 0 warnings (0 minutes, 1 seconds) ===| 程式碼(Code):(請善用置底文網頁, 記得排版) #include <iostream> using namespace std; int main() { cout << "Hello world!" << endl; return 0; } 請問這問題要怎麼解決呢?謝謝大家! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 27.147.56.254

08/21 16:54, , 1F
你前一次編譯後執行的程式還沒結束所以執行檔被鎖住了
08/21 16:54, 1F

08/21 17:56, , 2F
謝謝你!那應該怎麼解決?因為我關掉編譯器,再重新執行,
08/21 17:56, 2F

08/21 17:57, , 3F
結果還是一樣。
08/21 17:57, 3F

08/21 18:03, , 4F
工作管理員查看看有沒有沒關掉的程式,不熟的話就重開機
08/21 18:03, 4F

08/21 18:44, , 5F
以系統管理員身份開啓?
08/21 18:44, 5F
文章代碼(AID): #1I57-B6q (C_and_CPP)