开发者

Sudden windows shut down during programming with Borland C++ followed by a blue screen!

This problem has happened to me twice.Both times during programming with Borland C++.when i wanted to run the simple code bellow:(completely what I wrote)

int n, total=0, counter=1,average;

while ( n )
{
   cin >> n;
   total = total + n;
   average = total / counter;
   counter++;
   cout <<average<<end开发者_StackOverflow中文版l;
}


BSOD is almost always a hardware or driver issue. It could be that a particular sequence of program operations is exercising something that is failing.

Best thing to do is look at the memory dump in MS' analyzer to see if that points to a specific software item.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜