I know its padding the structure. My question is, how do I solve that problem without manually specifying offsets? It becomes an issue with portability and endianness between machines, and much...
Type: Posts; User: absoult-tech1
I know its padding the structure. My question is, how do I solve that problem without manually specifying offsets? It becomes an issue with portability and endianness between machines, and much...
I'm seeing a weird problem with memcpy. I have the following code:
int main()
{
char data[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 };
...