Weird glitch/bug with c++ program compiled in Ubuntu? or am I doing something wrong?

Byron Clark byron at
Wed Feb 15 15:50:45 MST 2012

On 02/15/12 at 03:46pm, John Shaver wrote:
> It kind of makes file processing strange if windows compilers treat
> \r\n different than linux based compilers...  They should both just
> treat them as what they are.  Otherwise, writing cross platform code
> is more difficult.

Just open the file in binary mode and it should behave the same on
Windows and Linux.

Byron Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : 

More information about the PLUG mailing list