K
kenchu.osu
Hi folks,
I have a question about accessing the member of a build-in struct.
Eg.
struct {
struct {
int x;
int y;
} pt;
int ...
...
} info;
I remember there is a method to simplify the access of info.pt.x using
info.x, but I cannot recall that. Can you guys help me with that?
Thanks a lot.
Best,
Ken
I have a question about accessing the member of a build-in struct.
Eg.
struct {
struct {
int x;
int y;
} pt;
int ...
...
} info;
I remember there is a method to simplify the access of info.pt.x using
info.x, but I cannot recall that. Can you guys help me with that?
Thanks a lot.
Best,
Ken