#ifndef DANS_CARD #define DANS_CARD #include enum SuiteType {Hearts, Spades, Clubs, Diamonds}; enum ValueType {Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten, Jack, Queen, King, Ace}; class card { private: SuiteType suite; ValueType value; public: card(); card(SuiteType, ValueType); void Print() const; SuiteType Suite() const; ValueType Value() const; void set_card(SuiteType s, ValueType v); bool operator ==(card c) const; bool operator >( card c); friend ostream& operator <<(ostream & s , card c); }; #endif