Expected unqualified-id before token error
<p>I'm starting with C++ and I can't figure this out. I have three classes and am trying to implement a queue. (Doesn't matter if it works or not now, i just need to fix this error)</p>

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

using namespace std;

int main(int argc, char** argv) {

    queue fronta();

    queue.add(10); // &lt;- expected unqualified-id before ‘.’ token
}
</code></pre>

<p>queue.h:</p>

<pre><code>#ifndef QUEUE_H
#define QUEUE_H

#include "queueItem.h"

class queue {
private:
    queueItem* first;
    queueItem* last;

public:
    queue();
    void add(int number);
    int get(void);
    bool isEmpty();
};

#endif  /* QUEUE_H */
</code></pre>

<p>queueItem.h:</p>

<pre><code>#ifndef QUEUEITEM_H
#define QUEUEITEM_H

class queueItem{
private:
    int value;
    queueItem* next;

public:
    queueItem(int value);

    int getValue();
    queueItem* getNext();
    void setNext(queueItem* next);
};

#endif  /* QUEUEITEM_H */
</code></pre>

<p>From what I've googled, it's usually related to extraneous semicolon, bracket or such. I found nothing of sorts though</p>

<p>Thanks for help</p>
