I am using a simple file format, so I want to use fscanf to read the items in the file.
a string of words
and so on...
I get the first line fine with fgets, and then the second line with:
fscanf (infile, "%d", &int1);
fscanf (infile, "%d", &int2);
But I cannot get the third by repeating this code. How can I get to the new line?
Thanks for any help.