fun.cpp
来自「对指针的使用做测试的源码」· C++ 代码 · 共 35 行
CPP
35 行
// Fun.cpp: implementation of the CFun class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "FunPtr.h"
#include "Fun.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CFun::CFun()
{
}
CFun::~CFun()
{
}
/// 2 定义一个普通的函数
int CFun::GeneralFun(CString strInfo)
{
return AfxMessageBox(strInfo);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?