摘要:
1 #include <iostream> 2 using namespace std; 3 4 class TPoint 5 { 6 public: 7 TPoint() 8 { 9 X=0; 10 Y=0; 11 cout<<"无参数构造函数"<<endl; 12 } 13 14 TPoint( 阅读全文
posted @ 2016-09-09 19:22
youngqqcn
阅读(191)
评论(0)
推荐(0)
摘要:
1 #include 2 using namespace std; 3 4 class Increase 5 { 6 public: 7 Increase() { value = 0; } 8 void display() const { cout value = value + 1; 29 return temp; 30 } ... 阅读全文
posted @ 2016-09-09 15:15
youngqqcn
阅读(1129)
评论(0)
推荐(0)
浙公网安备 33010602011771号