📄 birthday.cpp
字号:
// BirthDay.cpp: implementation of the CBirthDay class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "MfcDesign.h"
#include "BirthDay.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
IMPLEMENT_SERIAL(CBirthDay, CObject, VERSIONABLE_SCHEMA | 1)
CBirthDay::CBirthDay()
{
}
CBirthDay::~CBirthDay()
{
}
void CBirthDay::Serialize(CArchive& ar)
{
// 对象序列化保存
if (ar.IsStoring())
{
ar << m_nYear << m_nMonth << m_nDay;
}
else
{
ar >> m_nYear >> m_nMonth >> m_nDay ;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -