Hi!

I need to read a series of numbers from a file. All in the same line, separated by commas.

I'm trying to figure which of the 4 functions should I use ( fscanf(), fgets(), fgetc(), fread() ).

Do I have to check char by char or is there a magic function/ combination of functions?

Thanks in advance