开发者

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

开发者 https://www.devze.com 2022-12-26 18:08 出处:网络
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)

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

精彩评论

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

关注公众号