Function pause

Pauses and prompts the user to press Enter (or "Return" on OSX).

This is similar to the Windows command line's PAUSE command.

pause();
pause("Thanks. Please press Enter again...");

Prototype

void pause(
  string prompt = "Press Enter to continue..."
);

Authors

Jesse Phillips

Copyright

Copyright Jesse Phillips 2010

License

zlib/libpng