That's probably what's happening. Try putting "system(pause);" just before main returns.
--
"Ah well, back to the cutting edge on the
coal-face of e-commerce." -- Charlie Stross
--
"Ah well, back to the cutting edge on the
coal-face of e-commerce." -- Charlie Stross