what?! didn't you tried the code i posted? it already had that removed.
i suggest not to use system("anything"). in last case, set a simple breakpoint through the debugger.
these commands are a bad habit, often cause bugs, kills the portability of your code, among other things...