chococrack 74 Junior Poster

If you're in windows (like using visual studio 2005) then just use

system("PAUSE");

If you're on a Unix console, you really don't need a pause after you run your code.

The snippet above may be useful for pausing at different times other than after the code runs, to run the program in chunks for example

dmt.Arsenal commented: using system("PAUSE") ?? bad !! +0