On Sat 2009-03-14 14:08:58 UTC-0000, John Matthews ([email protected]) wrote:

> Sorry - I left out the getch(), because on linux it comes from the
> curses library. If you need to wait for a key press, it might be
> better to use a stdio.h function eg.
> 
>     char s[10];
>     :
>     fgets(s, sizeof s, stdin);
> 
> which waits for enter/return to be pressed.

Or this:

getchar();

:-)

Reply via email to