www.pudn.com > CallbackTimerDemo.rar > Person.h
// Person.h: interface for the CPerson class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PERSON_H__7E69EB00_04AD_4AB7_86DA_C0FF696D7B37__INCLUDED_)
#define AFX_PERSON_H__7E69EB00_04AD_4AB7_86DA_C0FF696D7B37__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CPerson
{
public:
//该实例的一句座右铭
CString szMotto;
//用于保存该实例的指针
CPerson* pThis;
//非静态成员函数,弹出该实例的座右铭
void GetMotto();
//静态成员函数,弹出该实例的座右铭
static void GetMottoStaic(CPerson* pPerson);
CPerson();
virtual ~CPerson();
};
#endif // !defined(AFX_PERSON_H__7E69EB00_04AD_4AB7_86DA_C0FF696D7B37__INCLUDED_)