I\'ve already got some code to read a text file using fscanf(), and now I need it modified so that fields that were previously whitespace-free need to allow whi
fscanf()
I highly suggest you stop using fscanf() and start using fgets() (which reads a whole line) and then parse the line that has been read.
fgets()
This will allow you considerably more freedom in regards to parsing non-exactly-formatted input.