does not have class type C++
<p>this is one class from my program ! When I'm try to compile the whole program I get an error message like this : main.cpp:174: error: '((Scene*)this)->Scene::lake' does not have class type</p>

<pre><code>class Scene
{
    int L,Dist;
    Background back ;
    Lake lake(int L);
    IceSkater iceskater(int Dist);
public :
    Scene(int L, int Dist)
    {
        cout&lt;&lt;"Scene was just created"&lt;&lt;endl;
    }

    ~Scene()
    {
        cout&lt;&lt;"Scene is about to be destroyed !"&lt;&lt;endl;
    }
};
</code></pre>
