cint.h

来自「战场登陆器vc++源代码很好用的哦精彩精彩」· C头文件 代码 · 共 34 行

H
34
字号


#if !defined(AFX_SECURITYINT_H__21765369_AE5A_4801_9422_A18537972861__INCLUDED_)
#define AFX_SECURITYINT_H__21765369_AE5A_4801_9422_A18537972861__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include <iostream>
#include <windows.h>
#include <Winbase.h>

class CInt ;

class CInt 
{
public:
	CInt() ;
	~CInt() ;
	int Get() ;
	void Set(const int & iValue) ;
	CInt & operator=(const int &iValue) ;
	operator int() ;
//	bool operator==(const int &iValue) ;
//	bool operator!=(const int &iValue) ;

protected :
	int * m_pValue ;
	int m_iKeyValue ;
	unsigned long old ;

};

#endif //#define AFX_SECURITYINT_H__21765369_AE5A_4801_9422_A18537972861__INCLUDED_

⌨️ 快捷键说明

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