Thank you very much. If I add a "b" I have no problem.
> See the MSDN documentation for fopen(). You have probably heard that text
> files in Unix have only a Line Feed (0x0a) marking the end of a line, while
> DOS/Windows text files use a Carriage Return & Line Feed combination (0x0d &
I didn't believe you at first but I tested some numbers other than 522 and it seems
that if I write any number with a 0x0a(10 778 5262) the program always sticks a 0x0d
right after it.