Keep getting missing ";" before "." errors
<p>I have the header specification for a class here:</p>

<pre><code>#ifndef FIXEDWINGAIRCRAFT_H
#define FIXEDWINGAIRCRAFT_H

#include &lt;iostream&gt;

class FixedWingAircraft
{
  private:
    struct Airframe
    {
        double weight;
    };
    struct Engine
    {
        double weight;
    double fuel;
    };
    struct Radio
    {
        bool state;
    double weight;
    };
    struct Pilot
    {
        int proficiency;
    double weight;
    };
    public:
    void setAirframe(double w)
    {
        Airframe.weight = w;
    }
    void setEngine(double w, double f)
    {
        Engine.weight = w;
    Engine.fuel = f;
    }
    void setRadio(bool s, double w)
    {
        Radio.state = s;
    Radio.weight = w;
    }
    void setPilot(int p, double w)
    {
        Pilot.proficiency = p;
    Pilot.weight = w;
    }
};
#endif
</code></pre>

<p>But when I try to compile, I get tons of syntax errors saying:</p>

<pre><code>error C2143: syntax error : missing ';' before '.'
</code></pre>

<p>I'm assuming these refer to the setter functions, but I don't see why that should be causing an issue. What am i missing?</p>
