//windows error //program to display the blue screen of death //...nithin #include #include #include void main() { int y=12; int gdriver = DETECT, gmode, errorcode; initgraph(&gdriver, &gmode, "c:\\tc\\bgi"); //clrscr(); cleardevice(); setbkcolor(1); gotoxy(35,y); textcolor(BLACK); textbackground(WHITE); printf(" WARNING! \r\n"); textbackground(BLACK); textcolor(WHITE); gotoxy(7,y+3); cprintf("The system is either busy or has become unstable. You can wait and\n"); gotoxy(7,y+4); cprintf("see if it becomes available again, or you can restart your computer\n"); gotoxy(7,y+6); cprintf("* Press any key to return to Windows and wait."); gotoxy(7,y+7); cprintf("* Press CTRL + ALT + DEL again to restart your computer. You will"); gotoxy(9,y+8); cprintf("loose unsaved information in any programs that are running."); gotoxy(27,y+11); cprintf("Press any key to continue"); getch(); }