www.pudn.com > CallbackTimerDemo.rar > Person.cpp
// Person.cpp: implementation of the CPerson class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "TimerDemo.h"
#include "Person.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CPerson::CPerson()
{
pThis = this;
}
CPerson::~CPerson()
{
}
void CPerson::GetMotto()
{
AfxMessageBox(szMotto);
}
void CPerson::GetMottoStaic(CPerson* pPerson)
{
pPerson->GetMotto();
}