![]() |
[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! :D |
All times are GMT -8. The time now is 08:58 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project