简体   繁体   中英

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<<endl;
}

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM