Ambigous members in multiple inheritance
<p>I am trying to create a new class in my program which is being extended from two inbuilt classes in a framework.</p>

<pre><code>class Node{
    setPosition();
    draw();
};

class Rectangle{
    setPosition();
    draw();
};

class CustomShape : public Node, public Rectangle{

};
</code></pre>

<p>In main program, if I try to write something like <code>CustomShape a</code> and </p>

<pre><code>a.setPosition();
a.draw();
</code></pre>

<p>I get compile time errors with ambiguous calls. How can I resolve this?</p>
