摘要:
16.使用this指针复制数据.头文件: 1 #include 2 3 using namespace std; 4 5 class Obj 6 { 7 int a, b; 8 9 public:10 Obj(int x = 0, int y = 0)11 {12 ... 阅读全文
posted @ 2015-12-11 02:57
zer-o
阅读(191)
评论(0)
推荐(0)
摘要:
10.分析下列程序的执行结果.头文件: 1 #include 2 3 using namespace std; 4 5 class Point 6 { 7 float x, y; 8 9 public:10 Point()11 {12 x = 0;13... 阅读全文
posted @ 2015-12-11 01:52
zer-o
阅读(202)
评论(0)
推荐(0)

浙公网安备 33010602011771号