--- In [email protected], andrew clarke <m...@...> wrote:
>
> On Sat 2009-03-14 14:08:58 UTC-0000, John Matthews (jm5...@...) 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();
> 
> :-)

Ah, but I get paid per line :-)


Reply via email to