Access derived class' functions through pointer (C++)
<p>Here's an example of the situation:</p>

<pre><code>CAnimal *poTest = new CDog();
</code></pre>

<p>When I write "poTest->" All I can see are functions from the base class (in example: CAnimal) and not the ones in the derived one. How can I access these?</p>
