NO1 拷贝构造函数

#include <iostream> #include<string.h> using namespace std; class CDate { private:     int year,month,day; public :     CDate(int y = 1900,int m=1,int d = 1)     {         year = y; month = m;day = d;
相关文章
相关标签/搜索