Using system("PAUSE") is a bad habit; better cut it now.