📄 call.cpp
字号:
// Call.cpp: implementation of the CCall class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "FunPtr.h"
#include "Call.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CCall::CCall()
{
}
CCall::~CCall()
{
}
/// 7 定义一个带函数指针参数的函数
int CCall::CallClassFunByPtr(pClassFun ptrFun,CString strInfo )
{
return (m_funObjectUsedToCallHisFun.*ptrFun)(strInfo);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -