You should use
getch();
at the end!
No you really shouldn't. It's non-portable.
Better would be to learn how to execute a command-line program from the command line.
And please use [code][/code] tags.
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314