摘要:
源程序: #include <iostream> using namespace std; class Point { private: int X,Y; public: Point(int a=0,int b=0) //构造函数,默认参数 { X=a; Y=b; cout<<"Initializi 阅读全文
posted @ 2019-12-11 13:30
bobo哥
阅读(200)
评论(0)
推荐(0)
摘要:
源程序: #include <iostream> using namespace std; class Point { private: int x,y; public: Point(int=0,int=0); ~Point(); }; Point::Point(int a,int b):x(a), 阅读全文
posted @ 2019-12-11 13:25
bobo哥
阅读(152)
评论(0)
推荐(0)
摘要:
源程序: #include <iostream> #include <string> using namespace std; class myDate { private: int year, month, day; public: myDate(); void setDate(int y,int 阅读全文
posted @ 2019-12-11 13:20
bobo哥
阅读(187)
评论(0)
推荐(0)
摘要:
源程序: #include <iostream> #include <string> using namespace std; class myDate { private: int year, month, day; public: myDate(); void setDate(int y,int 阅读全文
posted @ 2019-12-11 13:15
bobo哥
阅读(218)
评论(0)
推荐(0)
摘要:
源程序: #include <iostream> #include <string> using namespace std; class myDate { private: int year, month, day; public: myDate(); void setDate(int y,int 阅读全文
posted @ 2019-12-11 11:45
bobo哥
阅读(163)
评论(0)
推荐(0)
摘要:
源程序: #include <iostream> #include <string> using namespace std; class myDate { private: int year, month, day; public: myDate(); myDate(int); //默认参数,从右 阅读全文
posted @ 2019-12-11 10:58
bobo哥
阅读(124)
评论(0)
推荐(0)
摘要:
源程序: #include <iostream> #include <string> using namespace std; class myDate { private: int year, month, day; public: myDate(); myDate(int); //默认参数,从右 阅读全文
posted @ 2019-12-11 10:53
bobo哥
阅读(165)
评论(0)
推荐(0)
摘要:
源程序: #include <iostream> #include <string> using namespace std; class myDate { private: int year, month, day; public: myDate(); myDate(int); //默认参数,从右 阅读全文
posted @ 2019-12-11 10:49
bobo哥
阅读(164)
评论(0)
推荐(0)

浙公网安备 33010602011771号