Not quite sure what you mean. Say if I have 4 values in my structure, all type char strings which form one line from the data text file. How would fscanf be used to capture each value from a line?
There are not white spaces between every value.
That depends if there are delimiters in the lines or not...
e.g. "The quick, brown fox jumped, over the lazy dog, in the field"
could be read by...
fscanf(file, " %s, %s, %s, %s", data->str1, data->str2, data->str3, data->str4);
When there is no delimiter you can tell it how many characters to read...
e.g. fscanf(file, "%12s" ....
You need to actualy look this up in the help file... the info is all there.
Simply type fscanf into the editor, press F1 ... start reading. Pelles help file is probably the best C language reference there is.