Creating class in separate file (beginner)
<p>I am really new to C++, and I am trying to create a class in a separate file, and I ran into a problem. I basically copied the tutorial <a href="http://thenewboston.org/watch.php?cat=16&amp;number=15" rel="nofollow">http://thenewboston.org/watch.php?cat=16&amp;number=15</a> from the newboston word for word. However, for the things don't work. I am getting this error when I am trying to run the main file:</p>

<pre><code>C:\Users\Akavall\Desktop\C++ Stuff\New C++ stuff\class_try.o:class_try.cpp|| undefined reference to `Burrito::Burrito()'|
||=== Build finished: 1 errors, 0 warnings ===|
</code></pre>

<p>Also, when I am creating the class. The <strong>Workspace</strong> icon is sitting by itself, while it is supposed to (I believe) include my .cpp and .h folders of the just created class.</p>

<p>My guess is that my paths are not set correctly somewhere, but I have no idea how to fix that. Any suggestions?</p>

<p>Here is the code that I am using:</p>

<p>Main file (class_try.cpp)</p>

<pre><code>#include &lt;iostream&gt;
#include "Burrito.h"

using namespace std;

int main()
{

    Burrito bo;
    return 0;
}
</code></pre>

<p>The class files:
Burrito.h</p>

<pre><code>#ifndef BURRITO_H
#define BURRITO_H

class Burrito
{
    public:
        Burrito();

};

#endif // BURRITO_H
</code></pre>

<p>Burrito.cpp</p>

<pre><code>#include "Burrito.h"
#include &lt;iostream&gt;

using namespace std;

Burrito::Burrito()
{
    cout&lt;&lt;"something silly"&lt;&lt;endl;
}
</code></pre>

<p>What should I do to fix the this problem?</p>

<p>Thank You in Advance</p>

<p>Edit:</p>

<p>I am using CodeBlocks, and I am on 32bit windows.</p>
