class a { int c = 4; class b { int c = 3; void set(int d) { c = d; // FIXME } } void runme() { object y = b(); y->set(12); } }
object x = a(); x->runme(); write("a->c %d\n", x->c);
If I want this to print 12 (instead of 4), how do I need to tell Pike to access the c-member from b->set() in class a instead of the one in class b?