Error: cannot declare variable 'c' to be of abstract type 'circle'
<p>Does anyone know what i am doing wrong and explain to me why it wouldnt let me declare anything as a circle?
main</p>

<pre><code>int main(void){
...
    circle c;
...
}
</code></pre>

<p>circle.h</p>

<pre><code>#include &lt;string&gt;
#include &lt;iostream&gt;
using namespace std;

class circle : public shape {

    double diameter, circum, radius;

public:

    virtual void draw(){
        cout&lt;&lt; "Circle"&lt;&lt; endl;
    }
};
</code></pre>

<p>shape.h</p>

<pre><code>#include &lt;string&gt;
#include &lt;iostream&gt;

using namespace std;

class shape{

public:
    virtual void draw() const = 0;
};
</code></pre>
