diff options
Diffstat (limited to 'src/main/card.h')
| -rw-r--r-- | src/main/card.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/card.h b/src/main/card.h new file mode 100644 index 0000000..8397931 --- /dev/null +++ b/src/main/card.h @@ -0,0 +1,23 @@ +// +// Created by thecharlesblake on 10/11/17. +// + +#ifndef SOLITAIRE_PIP_CARD_H +#define SOLITAIRE_PIP_CARD_H + +#include <string> + +class card { +public: + card(const char*); + int get_rank() const; + char get_suit() const; +private: + int rank; + char suit; +}; + +std::ostream & operator<<(std::ostream &, card const &); + + +#endif //SOLITAIRE_PIP_CARD_H |
