//Byte-ordering
bool IsLittleEndian()
{
int nValue = 1;
if ( 1 == *(char *)&nValue)
{
return true;
}
else
{
return false;
}
}
Monday, July 21, 2008
Subscribe to:
Post Comments (Atom)
I started this blog as a source code repository; however, I am adding software development related information and links as well.
0 comments:
Post a Comment