First I'll say hello since this is my first post.
Ok, now I am experimenting with random file access and am curious as to how I should go about setting the current read/write position of the file to the space next to a keyword. For instance, if my file includes the line:
EMPC 23
I want to read in the integer 23. There has got to be a better way to do this than using fseek() manually.
Also, when using fscanf(), and after some input is scanned, where does the file position go to? the next line?
Thanks in advance for the help.