⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tray.h

📁 汉诺(hanoi)问题采用递归算法解决
💻 H
字号:
// Tray.h: interface for the CTray class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TRAY_H__9EF18390_4B16_11D6_AAE6_B74EAB06404E__INCLUDED_)
#define AFX_TRAY_H__9EF18390_4B16_11D6_AAE6_B74EAB06404E__INCLUDED_

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

class CTray  
{
public:
	CTray(){}
	CTray(int width);
	virtual ~CTray();
	void  Draw(CDC *pDC,CPoint ptCenter);
public:
	int m_nHalfWidth;  //盘子宽度的一半
};

#endif // !defined(AFX_TRAY_H__9EF18390_4B16_11D6_AAE6_B74EAB06404E__INCLUDED_)

⌨️ 快捷键说明

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