How to access member with same name in the inheritance
<p>I have a question about how to access the member with the same name with inheritance. For example,</p>

<pre><code>class Base { 

public:
int i;  

};
class Derived1 : public Base {

    public:
    int i;

    // how to access the i in the base class here?
};

int main() {

  Derived1 d;
  cout&lt;&lt;d.i;                          //which is it is?

  //how to access the different i here? 

}
</code></pre>
