memoPtr = (int*) realloc(memoPtr , (size / 2) * sizeof(int));
check this statment ...do you really need this size/2
Is this specific to OS ? how about linux.
The operations are the same in both directions. Here is some code for the common unsigned data types:
inline void endian_swap(unsigned short& x)...
Good one !!! put some computation analysis for the same
I m new to this group.
I m developing some message handler for that i need to verify the Messages with some checksum bit.
Separate names with a comma.