C compile error: Id returned 1 exit status

前端 未结 11 1097
忘掉有多难
忘掉有多难 2020-12-06 18:25

For some reason, when I try compiling a program, the compiler says permission denied and Id returned 1 exit status. Could anyone tell me what that means? Thank you

相关标签:
11条回答
  • 2020-12-06 18:44

    it could be that you just said main{....I use int main{ when I start my main.

    0 讨论(0)
  • 2020-12-06 18:46

    I may guess, the old instance of your program is still running. Windows does not allow to change the files which are currently "in use" and your linker cannot write the new .exe on the top of the running one. Try stopping/killing your program.

    0 讨论(0)
  • 2020-12-06 18:48

    1d returned 1 exit status error

    First of all you have to create a project by clicking file new and then project and give project name select the language c or c++ and select empty also. Then your program is under that project... And then give a program name save it.... Ensure that your under some project to compile and run a program...

    0 讨论(0)
  • 2020-12-06 18:51

    My solution is to try to open another file that you can successfully run that you do at another PC, open that file and run it, after that copy that file and make a new file. Try to run it.

    0 讨论(0)
  • 2020-12-06 18:58

    You may compiling your program while another program may be running in background. Firstly, see if another program is running .Close it and then try ro compile.

    0 讨论(0)
  • 2020-12-06 18:59

    it seems as if it comes when u have an previous compiled version of your program running

    0 讨论(0)
提交回复
热议问题