Hi
i fopen() a text file and use fgets(). Is there a function to peek into what the next line contains without actually drawing out the line ?
Hi
i fopen() a text file and use fgets(). Is there a function to peek into what the next line contains without actually drawing out the line ?
Not really, but you could always read the next line, then use fseek() to go back to where you were before if that's what you want to do.
thanks... i did the fseek backwards and that works.