调式小技巧01

在要调式的代码上面或下面添加代码:
system("pause");
即可,当程序执行到该行时,就会弹出cmd窗口;可以判断bug在什么地方。
原文地址:https://www.cnblogs.com/Anzhongliu/p/6091826.html