Search:

Type: Posts; User: quzah

Search: Search took 0.17 seconds.

  1. Replies
    8
    Views
    6,566

    Well I'm still not sure what you're stuck on. How...

    Well I'm still not sure what you're stuck on. How can you be updating something if you don't know what it is?
    struct foo
    {
    type thingyouknow;
    type thingyoudonotknow;
    type...
  2. Replies
    8
    Views
    6,566

    Sure, if you know what the members are....

    Sure, if you know what the members are.
    &somestruct.somememberI don't understand why you think you need to use memcpy if you know what every one of the members are. Just assign values directly, as...
  3. Replies
    8
    Views
    6,566

    Be lazy: union { struct thingineedtoupdate...

    Be lazy:
    union
    {
    struct thingineedtoupdate foo;
    struct whateverithinkiamdoing bar;
    } baz;

    baz.bar = doingstuff;
    dowhateverithinkiamupdating( baz.foo );
Results 1 to 3 of 3