View Single Post
Old Apr 1st, 2008, 10:05 PM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Re: Computations: extra inputs?

The problem is, when/if I remove that code, the program won't execute.
Wrong. The program will execute, but if don't you run it from a console, it'll run so quickly and disappear you won't even see it. That line is to prevent it from disappearing by prompting for user input just before it terminates.

I'd recommend doing this instead though:
cin.get();
return 0;
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote