diff options
Diffstat (limited to 'card.h')
-rw-r--r-- | card.h | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -0,0 +1,29 @@ +#ifndef _CARD_H_ +#define _CARD_H_ + +#include <iostream> +#include <string> + +using std::string; +using std::cout; +using std::endl; + +class Card +{ + private: + /* card + suit */ + string type; + int rank; + + public: + Card(void); + Card(string &); + + /* could be overloaded with cout's << operator */ + string getType(void); + void rankCard(void); + void sortCards(Card **); +}; + +#endif + |