📄 tpoint.cpp
字号:
// TPoint.cpp: implementation of the TPoint class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "TPoint.h"
#include "iostream.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
TPoint::TPoint(TPoint & p)
{
X = p.X;
Y = p.Y;
cout<<"拷贝初始化构造函数被调用。\n";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -