Solution to dev C + + error [error] LD returned 1 exit status

        I am a beginner of C language. When using dev C + + compiler, I encountered a situation: the program is correct and can be compiled and run normally, but it appears when I run it again after running it once   Error [error] LD returned 1 exit status. The reason for this problem is that although the last running window is closed, the program is still running in the background. This can be viewed through the task manager.

      The usual method on the Internet is to close the program and then open it. This is OK, but it is too inconvenient. Here is a method. I used this method to solve my problem:


Right click the compatibility attribute of devcpp.exe and check the run as administrator.     Just.

Read More: