[{"title":"( 2 个子文件 1KB ) cpp代码-大作业第五题:\r\n定义一个date类如下: \r\nclass Date \r\n{ \r\npublic: \r\nvoid SetDate(int y,int m,int d); \r\nvoid IsLeapYear(); \r\nprivate: \r\nint year; \r\nint month; \r\nint day; \r\n}; \r\n要求: \r\n(1)编写SetDate(int y,int m,int d)函数,实现对象中数据成员的设置; \r\n(2)编写IsLeapYear()判断该年是否是闰年。","children":[{"title":"README.txt <span style='color:#111;'> 741B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 838B </span>","children":null,"spread":false}],"spread":true}]