thanks dave that worked great, I dont really understand what you have done however.
why an unsigned int? whats the difference between that and a normal int?
unsigned int lines = 0;
So you increment lines by 1, then i dont really understand the rest
if ( lines++ % LINES_TO_DISPLAY == (LINES_TO_DISPLAY - 1) )
fputs, just like printf but for stings right?. stdout = standard out? not sure what that means
fputs("Press enter to continue...", stdout);
fflush? clearing the value of stdout??
lost me a bit here to...keep looping with user input or until EOF?
while ( (ch = getchar()) != '\n' && ch != EOF )
thanks alot for the help