Visual studio 2010 exiting after program ends

前端 未结 8 656
甜味超标
甜味超标 2021-02-04 13:44

I\'m trying out Visual studio 2010 by compiling a C program. After it displays the solution in the \"DOS\" command window, the window is immediately closed. In Visual studio 200

8条回答
  •  一向
    一向 (楼主)
    2021-02-04 14:21

    Bring "Start without debug" to the Debug menu...

    Tools >> Customize >> Commands(Tab) >> Menu bar(drop down list) >> Debug(Controls Option) >> Add Command(button) >> Debug(Categories List) >> Start without debug

    Using "Start without debug" Will allow VS2010 to display the "Press any key to continue" phrase before exiting.

提交回复
热议问题