Solve the problem of flash back in VS2010

Sometimes we will find that VS2010 will flash back, and we will not see the results after the program is executed. There are two solutions to this problem.

Solution a:
Add system(“pause”) before the program ends (before return);  
This is the pause instruction for the system and it’s going to pause and it’s not going to continue, so it’s not going to go back.

Scheme 2:
Steps to implement in VS: Project ->; Property – & gt; Configure properties ->; Connector – & gt; System – & gt; Select the console for the subsystem.


Read More: