title: Expression must have a pointer-to-object reference (C++)
body: <p>I'm working on a bootloader, an I get this syntax error, and have no idea what it means, If someone could help me out, it would be much appreciated.</p>
  
  <pre><code>bool DrawBitmap(BYTE Bitmap, int x, int y, int w, int h)
  {
      for(int i=0;i&lt;=w;i++)
          for(int i2=0;i2&lt;=h; i2++)
          {
              setpixel(i+x,i2+h, Bitmap[(((w*i2)-1)+i)]);
          }
  }
  </code></pre>
  
  <p>Note, the error occurs in <code>[(((w*i2)-1)+i)]</code>.</p>