The computer in the school computer room always reports errors in the second compilation
[Error] Id returned 1 exit status
First check whether the console window of your program is closed, and then recompile after closing whether it reports an error.
The following scheme is for the situation where the error is still reported after the window is closed
- Right-click the Dev C++ icon ---> Properties --->Compatibility ---> check "Run this program as an administrator"
- Open Dev C++ --> Tools --> Compilation Options --> Code Generation/Optimization --> Linker --> Set "Link Objective C Program" to
- Switch the compiler in the upper right corner of the Dev C++ main page to Debug mode (e.g. TDM-GCC 4.9.2 64-bit Debug)
- If the computer has a recovery card, please place the project and its files on a non-protected disk