[Solved] Weird spaces when iterating through a file in C language [closed]

[ad_1]

I think you have non printable characters before each ‘$’ in a.txt even there are not indicated through notepad, as you can see the count written reach 7 then 5 etc, this is not possible if the text is the one we see

a.txt contains only ascii characters or is UTF8 or something like that ? notepad can manage the encoding, but of course fgetc don’t

1

[ad_2]

solved Weird spaces when iterating through a file in C language [closed]