类
kevin990123
这个作者很懒,什么都没留下…
展开
-
Date类
Date类 程序代码如下: Date.h #include<iostream> using namespace std; class Date { public: Date(int year = 2000, int month = 1, int day = 1); Date(const Date& d); //赋值运算符重载 Date& operat...原创 2018-11-27 09:43:01 · 166 阅读 · 0 评论 -
日历---C++封装一个Date类,Calendar类,实现简单的日历+日期计算器程序
C++封装一个Date类,实现简单的日历程序 程序代码如下: Date.h #include<iostream> using namespace std; class Date { public: Date(int year = 2000, int month = 1, int day = 1); Date(const Date& d); //赋值运算原创 2018-11-27 09:47:53 · 1973 阅读 · 0 评论