Introduction - If you have any usage issues, please Google them yourself
Define a date class as follows: class Date (public: void SetDate (int y, int m, int d) void IsLeapYear () private: int year int month int day ) requirements: (1) preparation SetDate ( int y, int m, int d) function, to achieve the object set of data members (2) the preparation of IsLeapYear () determine whether the year is a leap year.