undefined reference to `rwhite::circle::draw() const'
<p>I can't tell why my it cannot find this method;</p>

<p>My circle.h file</p>

<pre><code>namespace rwhite {

class circle : public shape {
public:
//Draw shape
    void draw() const;
}
</code></pre>

<p>My circle.cc file;</p>

<pre><code>using namespace std;

namespace rwhite{
    void circle::draw() const{
        cout &lt;&lt; "You've drawn a Circle with a position of " &lt;&lt; _center &lt;&lt; " and a radius of " &lt;&lt; _radius &lt;&lt; ".\n";
    }
}
</code></pre>

<p>My main method;</p>

<pre><code>using namespace std;

#include "shape.h"
#include "circle.h"
#include "rectangle.h"
#include "triangle.h"
#include "shape-utils.h" // Contains answers to Q-3,4,6,7

using namespace rwhite;

int main(void) {
    circle    c;

    c.draw();
}
</code></pre>

<p>I get this error message - undefined reference to `rwhite::circle::draw() const'</p>

<p>Also, when I'm compiling the circle.cc file alone i get this error message;</p>

<p>e:.....\libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain@16'</p>
