用C/C++實現一個日期類,重載運算符=,==,+,-,++,--,>,>=,

#include<iostream> #include<windows.h> using namespace std; class Date { public: Date(int year, int month, int day) //構造函數 :_year(year) ,_month(month) ,_day(day) {} Date(Date & d) //拷貝構造
相關文章
相關標籤/搜索