typedef struct {
int a, b;
} testStruct;
#define TESTDEFINE (*((testStruct*)0x04000008))
Take the above code for example
why does the following work the way it should by showing the members of the struct:
(*((testStruct*)0x04000008)). // <-- notice the dot
but this does not:
TESTDEFINE. // <-- notice the dot
Shouldn't it work just as well?? (I'm talking about the little window that appears showing the members of the struct when you put the "." after the identifier). I know that this is a very special case but still, if the former example works why shouldn't the latter one? Anyway, I hope you can help me.