C++ _Date类

  1. Date类功能实现 #include <iostream> #include <cstdbool> using namespace std; class Date { public: Date(int year = 2000, int month = 1, int day = 1); //构造函数 Date(const Date&d); //拷贝构造函数 int GetDay(i
相关文章
相关标签/搜索