VC2010 cannot start the program, the system cannot find the specified file

When VC2010 is debugging, it appears: Unable to start the program, the system cannot find the specified file. (As shown in the figure below)
Insert picture description here
This happens because a project in C language can only have one main function. Maybe two source files have been created for one project.
You can debug normally by deleting another source file.

Guess you like

Origin blog.csdn.net/qq_46620129/article/details/113796367