vs2010 debugging c++ always says that this project has expired, what should I do

VS will not be compiled automatically, that is, if you modify the code and run it directly without recompiling, the compiler will pop up this prompt to remind you to recompile and run again! In this way, the result of the run will be the same as you now The code matches. Otherwise, you just run the previously compiled program! Develop the most basic habit: compile and then run. That is to generate the solution first, and then debug it.

Guess you like

Origin blog.csdn.net/qq_39400113/article/details/111604426