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".
Hi,
"\n" is translated 0x0A but I am not responsible... at least I believe. The code remained the same and in the past the char was not visible.
Now it appear both with mingw and msc9. It seems that 0x0A give problem during the parse.
Thanks,
Luigi