title: Init to zero a static 2D array at its declaration
body: <p>I'm developing an iOS 5.0+ app with latest SDK.</p>
  
  <p>I have to declare an initialize a private 2D array this way, because I'm going to use it on a C++ function:</p>
  
  <pre><code>@implementation MyClass
  
  int myArray[NSFirstDim][NSSecondDim] = 0; &lt;-- Error here
  
  ...
  
  - (id)init
  {
  ...
  }
  
  ...
  @end
  </code></pre>
  
  <p>But I can't initialize to 0 this way because I get the following message:</p>
  
  <pre><code>Array initializer must be an initializer list
  </code></pre>
  
  <p><strong>How can I initialize all values to zero?</strong></p>
  
  <p>Or I can use a 2D dynamic array...</p>