title: C/C++ : Pointer on Pointer on structure
body: <p>I have 2 structures :</p>
  
  <pre><code>struct A {
    int m1;
    int m2;
  }
  </code></pre>
  
  <p>and the second struct which has as a member the previous struct :</p>
  
  <pre><code>struct Temp_A {    
    A a;    
  }
  </code></pre>
  
  <p>Then I have in my program :</p>
  
  <pre><code>Temp_A** temp_a;
  </code></pre>
  
  <p>So my questions are :</p>
  
  <ol>
  <li><p>How can I allocate memory for <code>temp_a</code> ?</p></li>
  <li><p>How can I access to <code>a</code>? It should be something kind of (*temp_a)->a... </p></li>
  </ol>
  
  <p>Thank you!</p>