Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Windows has a different line ending

But not when printing to stdio.h text streams; \n turns into the right line ending.



> 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: