📄 contact.cpp
字号:
// Contact.cpp: implementation of the CContact class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "AddressBookDB.h"
#include "Contact.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CContact::CContact()
{
}
CContact::~CContact()
{
}
CContact::CContact(CContact &contact){
this->m_id=contact.m_id;
this->m_name=contact.m_name;
this->m_gender=contact.m_gender;
this->m_phonenumber=contact.m_phonenumber;
}
CContact::operator =(CContact &contact){
this->m_id=contact.m_id;
this->m_name=contact.m_name;
this->m_gender=contact.m_gender;
this->m_phonenumber=contact.m_phonenumber;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -