Advertisement
pichumy

Untitled

Jan 27th, 2014
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. g++ main.cpp GoodDeck.cpp Card.cpp
  2. main.cpp: In function ‘int main(int, char**)’:
  3. main.cpp:9:2: error: ‘vector’ is not a member of ‘std’
  4. std::vector<Card> hand;
  5. ^
  6. main.cpp:9:18: error: expected primary-expression before ‘>’ token
  7. std::vector<Card> hand;
  8. ^
  9. main.cpp:9:20: error: ‘hand’ was not declared in this scope
  10. std::vector<Card> hand;
  11. ^
  12. main.cpp:31:26: error: request for member ‘print_card’ in ‘fulldeck.Deck::get_card(i)’, which is of pointer type ‘const Card*’ (maybe you meant to use ‘->’ ?)
  13. fulldeck.get_card(i).print_card(stdout);
  14. ^
  15. main.cpp:38:27: error: ‘class Deck’ has no member named ‘getcard’
  16. printf(": %d\n",fulldeck.getcard(5).compare(fulldeck.get_card(17)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement