GCC - "expected unqualified-id before ')' token"
<p>Please bear with me, I'm just learning C++. </p>

<p>I'm trying to write my header file (for class) and I'm running into an odd error.</p>

<pre><code>cards.h:21: error: expected unqualified-id before ')' token
cards.h:22: error: expected `)' before "str"
cards.h:23: error: expected `)' before "r"
</code></pre>

<p>What does "expected unqualified-id before ')' token" mean? And what am I doing wrong? </p>

<p>Edit: Sorry, I didn't post the entire code.</p>

<pre><code>/*
Card header file
[Author]
*/
// NOTE: Lanugage Docs here http://www.cplusplus.com/doc/tutorial/

#define Card
#define Hand
#define AppError

#include &lt;string&gt;

using namespace std;


// TODO: Docs here
class Card { // line 17
    public:
        enum Suit {Club, Diamond, Spade, Heart};
        enum Rank {Two, Three, Four, Five, Six, Seven, Eight, Nine,
                   Ten, Jack, Queen, King, Ace};
        Card(); // line 22
        Card(string str);
        Card(Rank r, Suit s);
</code></pre>

<p>Edit: I'm just trying to compile the header file by itself using "g++ file.h". </p>

<p>Edit: Closed question. My code is working now. Thanks everyone!
Edit: Reopened question after reading <a href="http://stackoverflow.com/questions/34456/etiquette-closing-your-posts">Etiquette: Closing your posts</a></p>
