Im looking for a way to store the same value in two different pointers. Notice THE SAME. Not copies. For example, I wanna have a pointer to what key_a has stored in it. I.e. id like to be able to do something like this:

Code:

typedef struct
{
var jump;
[...]
} KEYMAPPING;

[...]

KEYMAPPING* my_key_mapping =
{
jump = &key_w;
}



Is it possible to achieve this somehow? Lite-c doesnt seem to support C/C++'s adress-of operator &.

Last edited by Kenchu; 02/25/08 18:43.