title: How to declare a C-array in header file?
body: <p>I have a C-array of <code>CGPoint</code> that I want to declare in the header file .h.</p>
  
  <pre><code>CGPoint checkPoint[8];
  </code></pre>
  
  <p>But when I try to give it a value in .m:</p>
  
  <pre><code>checkPoint[8] = { //&lt;-- Error Here
      CGPointMake(0, -10),
      CGPointMake(10, 0),
      CGPointMake(0, 10),
      CGPointMake(-10, 0),
      CGPointMake(-10, -10),
      CGPointMake(10, -10),
      CGPointMake(10, 10),
      CGPointMake(-10, 10)
  };
  </code></pre>
  
  <p>It gives me an error pointing at the first opening bracket: Expected expression</p>
  
  <p>Im not very used with C-arrays, how is the correct way of doing this?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I have tried with <code>extern</code> in the header file, but I get this error message: Type name does not allow storage class to be specified.</p>