A
Amadeus W.M.
I saw somewhere some code that in a simplified version boils down to the
example below. Could someone explain when one would define a pointer as
that in main() below, and why? Pointers to documents that explain this
will do. Thanks!
class MyClass
{
public:
int x;
};
int main()
{
int MyClass::*px = &MyClass::x;
return 0;
}
example below. Could someone explain when one would define a pointer as
that in main() below, and why? Pointers to documents that explain this
will do. Thanks!
class MyClass
{
public:
int x;
};
int main()
{
int MyClass::*px = &MyClass::x;
return 0;
}