Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cards.h:21: error: expected unqualified-id before ')' token
- cards.h:22: error: expected `)' before "str"
- cards.h:23: error: expected `)' before "r"
- /*
- Card header file
- [Author]
- */
- // NOTE: Lanugage Docs here http://www.cplusplus.com/doc/tutorial/
- #define Card
- #define Hand
- #define AppError
- #include <string>
- 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);
- #ifndef CARD_H
- #define CARD_H
- class Card ...
- ...
- #endif
- #define Card
- #define Hand
- #define AppError
- class Card ;
- class Hand ;
- class AppError ;
Add Comment
Please, Sign In to add comment