fun.h

来自「对指针的使用做测试的源码」· C头文件 代码 · 共 24 行

H
24
字号
// Fun.h: interface for the CFun class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FUN_H__84B7B51D_5364_490B_A95E_D73033C84379__INCLUDED_)
#define AFX_FUN_H__84B7B51D_5364_490B_A95E_D73033C84379__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CFun  
{
public:
	CFun();
	virtual ~CFun();
	int GeneralFun(CString strInfo);		/// 1 声明一个普通的函数

};

typedef int (CFun::*pClassFun)(CString strInfo);	/// 3 定义函数指针类型

#endif // !defined(AFX_FUN_H__84B7B51D_5364_490B_A95E_D73033C84379__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?