⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 point.cpp

📁 C++多个例题的源代码及分析.有兴趣的可以
💻 CPP
字号:
// Point.cpp
#include<iostream>
#include "Point.h"
using namespace std;
Point::Point()
{   X=Y=0;
     cout<<"Default Constructor called."<<endl;
}
Point::Point(int xx,int yy)
{   X=xx;
     Y=yy;
     cout<< "Constructor called."<<endl;
}
Point::~Point()
{
       cout<<"Destructor called."<<endl;
}
void Point::Move(int x,int y)
{
        X=x;
        Y=y;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -