lets say u write some program which counts to 1000 and spams 1000 lines. then it ends. then u start a new program which does clrscr(); well, on my computer, when it does this clrscr(); it only clears the top half of the command prompt window-leaving the spam visible in the bottom half