title: No default constructor exists for class but non default passed
body: <p>My Thing class is derived from Entity class which has the following constructor</p>
  
  <pre><code>    Entity::Entity(string sNames, double xcord, double ycord)
      :m_sName(sNames), m_dX(xcord),m_dY(ycord){}
  </code></pre>
  
  <p>Thing's constructor is</p>
  
  <pre><code>    Thing::Thing(string sName, double xcord, double ycord):
      Entity(sName, xcord, ycord),
      m_iHealth(100),m_Weapon(Weapon("Fists", false, 10.0, 5, 1.0, xcord, ycord)){}
  </code></pre>
  
  <p>The problem is I get error "no appropriate default constructor available" on my Thing constructor.  What is the problem I specified to use my Entity constructor not a default.  To make the problem even more confusing for me I have another class derieved from Entity that works</p>
  
  <pre><code>    Weapon::Weapon(string sName, bool iMagical, double dRange, int iDamage,double
      dRadius, double dSpawnX, double dSpawnY):
      Entity(sName, dSpawnX, dSpawnY), m_bMagical(iMagical), m_dRange(dRange), m_iDamage(iDamage),
      m_dRadius(dRadius)
  {
  }
  </code></pre>
  
  <p>That runs without error but it appears to be the same exact thing as my Thing constructor with more variables.  I'm sure I am missing something small but I have been stumped for a while.</p>
  
  <p>You were correct there was some leftover code that didn't get commented out.  It seems strange that and error in member variable deceleration shows up in constructor, but thanks anyway.  It's always the simple things hat get me.</p>