用vc6.0编程,调试成功并运行程序后,能收到提示如下:请按下任意键继续...
这样我们就能看到程序运行的结果了。
不知道为什么我所安装的vs2010,在调试成功,程序运行结束后并没有显示等待,而是直接关闭cmd窗口
请问如何设置才能如以前般。
Hi romge,
想要窗口保持打开状态,你可以用 “Start Without Debugging”. 你也可以在程序中添加断点,然后deub程序, 或者像C# Console程序中用 “Console.Readlline()”.
参考:
http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/36db3d16-564c-44da-9f2b-8504b5dc141b/
Best Regards,
Jack Zhai [MSFT] MSDN Community Support | Feedback to us Develop and promote your apps in Windows Store Please remember to mark the replies as answers if they help and unmark them if they provide no help.