I am trying to read a text file separated by semicolons such as
3;7;9;
4;7;23;
However, every time I call
while ((c = getc(fp))!= EOF)
putchar(c);
it skips the first value (3) and only outputs:
;7;9;
4;7;23;
Is there any way to get the first value?
Thank you