Well, that must be pretty easy for most of you:
I am writing a program in which I have to read a text file. The problem is the text file has a line with integer numbers separated by commas (and spaces, of course).
At a certain point I want to read those numbers from the file and store them in variables, but I don't know how to handle the commas. If they were separated only by spaces (no matter how many), I think just using the read procedure as many times as necessary would do just fine, but since there are also commas between the numbers, I just can't figure out how to read them. Would you help me?
(well, I think that should be easy, but I'll probably raise the points if it's not)