I'm having some troubles with what I think are called
scansets.
This kind of stuff:
Code:
fscanf(fp, " %*[^0-9]%i %i/%i", &a, &b, &c);
So it ignores anything that's scanned in untill it sees a number.
That's all good, but I don't seem capable enough to get it to work with minuses as well (for a negative number.)
It would be great if someone could give me a hand, or maybe even write a little tutorial covering scansets (so maybe I could actually learn something.)
Thanks!
