hex*_*ode 3 c++ pointers operator-precedence
class testClass { public: int B, C; };
testClass u;
testClass * k = &u;
testClass ** m = &k;
*m->B = 1;//Error appears here
Run Code Online (Sandbox Code Playgroud)
我想我已经正确地遵循了指针引用的规则.我仍然不知道为什么会这样.有人能帮助我吗?