上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 54 下一页
摘要: 源程序: #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)
摘要: 源程序: #include <stdio.h> #include <stdlib.h> //#define MAXSIZE 100 /* 存储空间初始分配量 */ const int MAX_INT = 32767; const int vnum = 20; typedef struct gp { 阅读全文
posted @ 2019-12-10 11:25 bobo哥 阅读(326) 评论(0) 推荐(0)
摘要: 源程序: #include <stdio.h> #include <stdlib.h> #define MAXSIZE 9 /* 存储空间初始分配量 */ const int vnum = 20; typedef struct gp { char vexs[vnum]; /* 顶点表 */ int 阅读全文
posted @ 2019-12-09 13:22 bobo哥 阅读(1356) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 54 下一页