title: Declaring array in Header file
body: <p>I am trying to optimize a life game.
  I need to change this code from the header file: </p>
  
  <pre><code>  #define MASK(col) (0x80 &gt;&gt; ((col) &amp; 7))
  </code></pre>
  
  <p>(The variable "col" is a variable that will save the column, it goes from 0 to 8)</p>
  
  <p>To something like this:</p>
  
  <pre><code>int array[9] = { 0, 64, 32, 16, 8, 4, 2, 1};
    #define MASK(col) (array[col])
  
  (((0) &amp; 7) = 0, ((1) &amp; 7) = 64, ((2) &amp; 7) = 32, ((3) &amp; 16)...)
  </code></pre>
  
  <p>The error I am getting with this code is the following:</p>
  
  <pre><code>"#10010 errors encountered during linking "life.out" not built"
  "#10056 "array" redefined: first defined in './lifelib.obj', redefined in 
  './life.obj'"
  </code></pre>
  
  <p>(Ps.: I've changed the name of the array to something like: "OKDPSAdiahodakDSA" and I still got the same error)</p>
  
  <p>PS: This error only happens when I make this change. The entire code is working fine.</p>