Martin,
Your solution works fine provided that your code will run only on a Win32 system. In using this approach, however, you are sacrificing cross-platform compatibility.
While Win32 systems (and Win16 and DOS) use "\r\n" for a line separator, Unix uses only "\n" and Mac...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.