//Score.h #pragma once #include using namespace std; class Score { int value; public: static const int max_score; static const int min_score; static const int not_score; Score(int value); int GetValue()const; //°ª Á¢±ÙÀÚ void Increment();//°ª 1 Áõ°¡ void Decrement();//°ª 1 °¨¼Ò Score &operator++(); //ÀüÀ§ ++ ¿¬»êÀÚ Áߺ¹ Á¤ÀÇ const Score operator++(int); //ÈÄÀ§ ++ ¿¬»êÀÚ Áߺ¹ Á¤ÀÇ Score &operator--(); //ÀüÀ§ -- ¿¬»êÀÚ Áߺ¹ Á¤ÀÇ const Score operator--(int); //ÈÄÀ§ -- ¿¬»êÀÚ Áߺ¹ Á¤ÀÇ private: void SetValue(int value);//°ª ¼³Á¤ÀÚ };