Instead of using the system() function try using clrscr() instead.be sure to include system.h

bet of luck to you.

-- Thu Feb 12, 2009 12:52 pm --

This may sound weird....but are ANSI bombs still in use??? that might be what the problem is?Everytime you give the command or a program gives the command cls it could be instead issuing the shutdown command. due to an ANSI bomb.Im not positive about this but I guess it is a posibility. I would look into that if I were you!