diff options
| author | thecharlesblake | 2017-10-23 22:01:18 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-26 14:51:33 +0100 |
| commit | e9693380d952552319b2cdd3f183e2e676676f95 (patch) | |
| tree | ca02b06786c13e2680144079c9e2969e654ba1a2 /src/main/card.h | |
| parent | Add simple black hole cmdline parse & err handling (diff) | |
| download | metasol-e9693380d952552319b2cdd3f183e2e676676f95.tar.gz metasol-e9693380d952552319b2cdd3f183e2e676676f95.zip | |
Add deal file parsing and verifying
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 |
