forlano Messages: 1215 Registered: March 2006 Location: Italy
Senior Contributor
mr_ped wrote on Mon, 15 September 2008 15:28
Basically you somehow managed to tell C++ to translate "\n" as 0x0A (or 0x0D only, one of those, check binary hex view if you have some handy viewer at hand).
How to fix that ... either switch the C++ compiler back to MS-DOS like line endings, or instead of "\n" use "\015\012".
I have discovered that if I use
out.PutLine( astring );
in Windows is automatically added \r\n instead of the simple \n.
This resolve my problem.
Thanks,
Luigi