myclass.h

来自「《C++程序设计习题及解答》配套代码VC版」· C头文件 代码 · 共 27 行

H
27
字号
// Myclass.h: interface for the Myclass class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYCLASS_H__A542C030_663B_4924_941D_FF89ECCA8FFB__INCLUDED_)
#define AFX_MYCLASS_H__A542C030_663B_4924_941D_FF89ECCA8FFB__INCLUDED_

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

class Myclass  
{
	friend int Result( Myclass& x );
public:
	Myclass( int i, int j );
	virtual ~Myclass();

private:
	int min;
	int max;
	int b;
	int a;
};

#endif // !defined(AFX_MYCLASS_H__A542C030_663B_4924_941D_FF89ECCA8FFB__INCLUDED_)

⌨️ 快捷键说明

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