调式小技巧01

在要调式的代码上面或下面添加代码:
system("pause");
即可,当程序执行到该行时,就会弹出cmd窗口;可以判断bug在什么地方。
posted @ 2016-03-14 02:19  Anzhongliu  阅读(155)  评论(0编辑  收藏  举报