Hello

I'm making a movie database program that takes the title
and the year from a file and displays it on stdout.
But i want a prompt that says "hit enter for next page.."
when one page has been displayed, and so on.

I tried with something like:

for(;;)
{
  //other functions
  
  n++;
  if(n==25 || n==50)
  {
     printf("hit enter for the next page..\n");
     getchar();
  }
}

but it didn't work, has anyone got a solution to my little problem? 



T.Kristoffersen <[EMAIL PROTECTED]>

Reply via email to