title: Array Size Member Function Compile Error
body: <p>Working with this code:</p>
  
  <pre><code>int myArray[10];
      for(int i = 0; i &lt; myArray.size(); i++)
          cout &lt;&lt; myArray[i] &lt;&lt; endl;
  </code></pre>
  
  <p>Compiler error:</p>
  
  <blockquote>
    <p>error: request for member 'size' in 'myArray', which is of non-class type 'int [10]'|</p>
  </blockquote>
  
  <p>I must be missing something obvious but I don't see it.</p>