VS2005 conversion of '\n\r' to 0x0D0A
- From: "David F." <df2705@xxxxxxxxxxxxxxxx>
- Date: Tue, 4 Nov 2008 20:57:22 -0800
Hello,
I'm not sure if it's VS2005 or its the other C compilers that don't adhere
to the C/C++ spec dealing with '\n\r', but to me, setting a word value
*((WORD*) ptr)='\n\r' is clear that it should be = 0x0A0D but VS2005
converts it to = 0x0D0A.
Just an FYI.
.
- Follow-Ups:
- Re: VS2005 conversion of '\n\r' to 0x0D0A
- From: Ulrich Eckhardt
- Re: VS2005 conversion of '\n\r' to 0x0D0A
- From: Victor Bazarov
- Re: VS2005 conversion of '\n\r' to 0x0D0A
- Prev by Date: Re: Requesting sample code!
- Next by Date: Re: VS2005 conversion of '\n\r' to 0x0D0A
- Previous by thread: Requesting sample code!
- Next by thread: Re: VS2005 conversion of '\n\r' to 0x0D0A
- Index(es):
Relevant Pages
|