- 博客(1)
- 收藏
- 关注
原创 c++编写万年历
<br />#include <iostream><br />#include <iomanip>using namespace std;<br />class Data<br />{ private: int year; // int monthdays[N];<br />public: void getyear(); //提示用户输入想要查询的年份<br />int ioleapyear(); //判断该年是不是闰年<br />int weekday();//判断该年的元旦是星期几 // void
2010-11-29 23:19:00 425
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人