title: 3D array C++ using int [] operator
body: <p>I'm new to C/C++ and I've been cracking my head but still got no idea how to make an "structure" like this</p>
  
  <p><img src="https://i.stack.imgur.com/ij8bS.jpg" alt="alt text"></p>
  
  <p>It's supposed to be a 3D dynamic array using pointers.</p>
  
  <p>I started like this, but got stuck there </p>
  
  <pre><code>  int x=5,y=4,z=3;
    int ***sec=new int **[x];
  </code></pre>
  
  <p>It would be enough to know how to make it for a static size of y and z;</p>
  
  <p>Please, I'd appreciate that you help me.</p>
  
  <p>Thanks in advance.</p>