Introduction - If you have any usage issues, please Google them yourself
Date class whose member variables are: year, month, day, member functions are: output date function, set the date function, and interpretation of leap year and leap year date plus 1 function function. Tip: Add 1 to get the date of the next day' s date, there are three cases: 1) the most common, direct+1 2) the last day of the month: a) one month is 31 days b) a month is 30 days c ) month of 28 days, 29 days (leap year) 3) the last day of the year.