Don't hurt my, dwks, if you're reading this ::

Code:
system ("delete C:\\test.txt");
should do it, hopefully. There's a non-system function method which I can't remember. Nor can I remember the header for system. Possibly cstdlib ...

Olé, 800 posts!!