| Re: Big Endian, Little Endian. |
|
 |
|
 |
|
 |
|
 |
Group: comp.lang.c++.moderated · Group Profile
Author: clemdclemd Date: May 10, 2008 04:21
On May 9, 8:25 pm, Le Chaud Lapin gmail.com> wrote:
> Hi All,
>
> What header or compile-time trick allows one to determine the byte-
> order of target CPU?
Not possible. Depending on the CPU and the memory system, the byte
order may be dynamic, or it may vary among sections of memory. Or it
may be "mixed endian" (not strictly big or little), or have no
endianness.
|