15.02.2014, 02:21
This might sound a bit obvious, but it doesn't work because it's commented? Or is it commented to point out something?
If you use commas, you need to use the p<,> delimitator on sscanf to let it know to separate by the commas and not by the spaces.
If you use commas, you need to use the p<,> delimitator on sscanf to let it know to separate by the commas and not by the spaces.