Line endings when redirecting output to file on windows.

Bastiaan Veelo Bastiaan at Veelo.net
Tue Jun 5 06:56:06 UTC 2018


On Monday, 4 June 2018 at 15:31:04 UTC, Steven Schveighoffer 
wrote:
> Windows C library has this bizarro mode for FILE * called 
> "text" mode, which is the default. In this mode, it scans all 
> output, and anywhere it sees a '\n', it replaces it with "\r\n".

Thanks, Steven.


More information about the Digitalmars-d-learn mailing list