📄 cards.h
字号:
/*
* cards.h
*
* Created on: 2009-4-13
* Author: pengphy
*/
#ifndef CARDS_H_
#define CARDS_H_
#include<e32base.h>
class CCards : CBase
{
public:
static CCards* NewL(TInt);
static CCards* NewLC(TInt);
TInt Deal();
TBuf<20> CardName(TInt); // return card's name
void shuffle();
~CCards(); // destuctor
private:
void ConstructL();
CCards(); // default constructor
CCards(TInt); // constructor with parameter
private:
// data
// TInt iDeck[52];
TInt iNextCard;
TInt iNumPack;
TInt* iDeck;
TBuf<20> iCardName;
};
#endif /* CARDS_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -