thank you babkockdood. Is that the result you got from it? I think I figured it out though. if i put:
Code:
 system ("PAUSE");
before the return 0; in the default would it wait to display the code?