02-28-2004, 11:05 AM | #1 (permalink) |
Crazy
Location: Nova Scotia, Canada
|
[C] Fscanf Question
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); 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!
__________________
Ask a simple question... get pain. |
Tags |
fscanf, question |
|
|