guess.h

来自「一个红蓝绿游戏」· C头文件 代码 · 共 27 行

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

#if !defined(AFX_GUESS_H__A8E1D525_2C2E_4B62_9A8F_A74FC4C8B2E9__INCLUDED_)
#define AFX_GUESS_H__A8E1D525_2C2E_4B62_9A8F_A74FC4C8B2E9__INCLUDED_

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

class Guess  
{
public:
	bool Update();
	int GetDigit(int i)const;
	Guess();
	virtual ~Guess();

protected:
    void SetDigit(int i,int v);
private:
	Element Number;
};
//ostream& operator<<(ostream &sout, const Guess &G);
#endif // !defined(AFX_GUESS_H__A8E1D525_2C2E_4B62_9A8F_A74FC4C8B2E9__INCLUDED_)

⌨️ 快捷键说明

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