I ran into an error yesterday and, while it\'s easy to get around, I wanted to make sure that I\'m understanding C++ right.
I have a base class with a protected memb
class Derived : public Base { protected: int d; public: void DoSomething() { b+=this->b; d=0; } }; //this will work