title: What does "expression must have class type" error mean?
body: <pre><code>#include &lt;cstdlib&gt;
  using namespace std;
  
  int main()
  {
      int arrayTest[512];
      int size = arrayTest.size();
      for(int a = 0;a&lt;size;a++)
      {
           //stuff will go here
      }
  }
  </code></pre>
  
  <p>What am I doing wrong here becuase the plan is to just fill the array with some numbers</p>