Hello,
We have a problem. We would like to set the pointer of a file in c. We read about fseek but this functions moves the file pointer according to a number of bytes. Unfortunately we don't know the exact byte of the desired pointer position.
Actually, we have a file with just one integer per line and we want to read a specific number of rows of this file.
How can we move the pointer, let's say at line 3?
Thank you in advance.
We have a problem. We would like to set the pointer of a file in c. We read about fseek but this functions moves the file pointer according to a number of bytes. Unfortunately we don't know the exact byte of the desired pointer position.
Actually, we have a file with just one integer per line and we want to read a specific number of rows of this file.
How can we move the pointer, let's say at line 3?
Thank you in advance.