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

📄 ch11cdealer.h

📁 此例子是学习C++的好东西
💻 H
字号:
//Program 11-12   Deal the Cards and Inheritance

//File: Ch11CDealer.h

#ifndef _CH11CDEALER_H
#define _CH11CDEALER_H

#include "Ch11Card.h"
#include "Ch11CPlayer.h"

class CDealer: public CPlayer
{
private:
	Card card[52];
	int index[52];
	int top_card;  // index that points at the top card in the deck
		
public:

	CDealer() ;

	void Shuffle();
	void ShowOrigCards();
	void ShowShuffledCards();
	void Deal4Cards(CPlayer* X);
	int WhereIsTheTop() { return top_card;}

};

#endif


⌨️ 快捷键说明

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