3 ms·
> Windows has a different line ending But not when printing to stdio.h text streams; \n turns into the right line ending.
by kazinator 7y ago
> Windows has a different line ending
But not when printing to stdio.h text streams; \n turns into the right line ending.
- shakna 7y ago> But not when printing to stdio.h text streams; \n turns into the right line ending. Only on some, but not all, compilers. I got varying behaviour until I went ahead and did it myself.