myclass.h

来自「这是一些c++例程」· C头文件 代码 · 共 26 行

H
26
字号
// MyClass.h: interface for the MyClass class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYCLASS_H__BE79C7D2_0AC3_44DB_B85B_C59F1178F8E7__INCLUDED_)
#define AFX_MYCLASS_H__BE79C7D2_0AC3_44DB_B85B_C59F1178F8E7__INCLUDED_

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

class Myclass  
{
public:
	Myclass(int a, int b, int c);
	~Myclass();
	void GetNumber();
	void GetSum();
private:
	int A, B, C;
	static int Sum;

};

#endif // !defined(AFX_MYCLASS_H__BE79C7D2_0AC3_44DB_B85B_C59F1178F8E7__INCLUDED_)

⌨️ 快捷键说明

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