title: Pointer to a child class
body: <p>I have a class which needs a pointer to a child class :</p>
  
  <pre><code>class A
  {
      protected :
          B *pB;
  }
  
  class B : public A
  {
  
  }
  </code></pre>
  
  <p>But this is not working.</p>