Maybe this can help you.
It's for scanf, but they will work for fscanf too.
I don't know if this is the best solution, though.
Edit: And you can also consider using the suggestion at the end of the linked page.
Maybe this can help you.
It's for scanf, but they will work for fscanf too.
I don't know if this is the best solution, though.
Edit: And you can also consider using the suggestion at the end of the linked page.
Last edited by koplersky; 12-10-2012 at 09:35 PM.