>>>
adrianxw wrote:
>>> system ("cls");

Then read the FAQ to find out why this is a bad idea.
<<<

As someone has pointed out, it was the use of the system() function I was commenting on....