I've never really used scanf or fscanf before, and I was wondering if it would work for this situation:
I have a file in the format of:
I tried using:
That didn't work since szVar got filled with the entire line. Can scanf do this, or do I need to do the parsing myself?