Tag Archives: [Error] Id returned 1 exit status

DevC++ Error: [Error] Id returned 1 exit status [How to Solve]

DEVC + + reports an error [error] ID returned 1 exit status

cause

The computer in the school computer room always compiles twice and always reports errors

Error reporting prompt

[Error] Id returned 1 exit status

Solution

premise

First check whether the console window of your program is closed, and then recompile if there is an error.

The following scheme is for the case where an error is still reported after closing the window

operation

Right click dev C + + icon –> Properties –> Compatibility –> Tick “run this program as administrator”“

Open dev C + + –> tools –> compilation options –> code generation/Optimization –> connector –> and set link objective C program to yes

Switch the compiler in the upper right corner of the dev C + + main page to debug mode (for example, tdm-gcc 4.9.2 64 bit debug)

If your computer has a restore card, please place the project and its files on an unprotected disk