Every time I do 'cout << endl' or even 'cout << " "' and then launch my program under Windows to output to a file ("a.exe < test.in > result.out") I get " " line endings in "result.out".
Is there on earth a way to stop it doing so and just output " " on every 'cout << " "'?
Thanks in advance.
See Question&Answers more detail:os