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