Search:

Type: Posts; User: absoult-tech1

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,483

    I know its padding the structure. My question is,...

    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...
  2. Replies
    5
    Views
    2,483

    memcpy question

    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 };


    ...
Results 1 to 2 of 2