title: How to use the double pointer structure correctly
body: <p>Below is the code, I'm so puzzled of how to use that double pointer int <code>struct  _AReport</code> and <code>struct  _BReport</code>.</p>
  
  <p>My system is running on a Embedded computer, I use VS to debug this parts.
  My system is composed of 1 <code>struct  _AReport</code>, 17 <code>struct  _BReport</code> and 16 <code>struct  _CReport</code> on the whole.</p>
  
  <p>The goal is that <code>struct  _AReport</code> will contain all the informations. </p>
  
  <p>I'm poor at English, thanks for being patient.</p>
  
  <pre><code>#include "stdafx.h"
  typedef struct _AReport AReport;
  typedef struct _BReport BReport;
  typedef struct _CReport CReport;
  
  typedef struct _AData AData;
  typedef struct _BData BData;
  typedef struct _CData CData;
  typedef struct _ABCDatas ABCDatas;
  struct  _AReport
  {
      AData *adata;
      BReport **breport;
  };
  
  struct  _BReport
  {
      int _b;
      BData *bdata;
      CReport **creport;
  };
  
  struct  _CReport
  {
      int _c;
      CData *cdata;
  };
  
  int main()
  {
      int i = 0;
      AReport Ar;
      //BReport Br_dyadic[17][16] = { 0 };
      BReport Br[17];
      BReport *Br_Pointer = Br;
      Ar.breport = &amp;(Br_Pointer);
  
      for (i = 0; i &lt; 17; i++)
      {
          Br[i]._b = i + 1;
      }
      (Ar.breport[0])-&gt;_b = 99;
      (Ar.breport[0] + 1)-&gt;_b = 99;
      return 0;
  }
  </code></pre>