title: C++ C style array as argument with wrong syntax
body: <p>Header file:</p>
  
  <pre><code>#ifndef ENEMY_H
  #define ENEMY_H
  #include "MonsterSkill.h"
  #include "PlayerSkill.h"
  #include "stdafx.h"
  
  class Enemy
  {
  public:
      Enemy(long hp, long dmg);
      Enemy(long hp, long dmg, MonsterSkill[] skills);
      ~Enemy();
      long hp;
      long dmg;
      MonsterSkill[0] skills;
      void getAttacked(PlayerSkill skill, Weapon weapon);
  private:
      void dying();
  };
  
  #endif
  </code></pre>
  
  <p>There are 4 errors:</p>
  
  <p>line 11: expected a ")"</p>
  
  <p>line 15: (int)0 expected an identifier, expected a ";"</p>
  
  <p>line 16: This error is expected, I haven't defined the weapon class yet.</p>