Advertisement
Advertisement
| 05.09.2008 at 10:32PM PDT, ID: 23391321 | Points: 125 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: |
LOCAL_C void MainL()
{
//
// add your program code here, example code below
//
CCards* deckOfCards = CCards::NewL();
TInt i, card;
for (i=0; i<15; i++)
--------------------------------------------------------
#include "cards.h"
CCards* CCards::NewL()
{
CCards* self = CCards::NewLC();
CleanupStack::Pop(self);
return(self);
}
CCards* CCards::NewLC()
{
CCards* self2 = new (ELeave) CCards();
self2->ConstructL();
CleanupStack::PushL(self2);
return(self2);
}
void CCards::ConstructL()
{
}
CCards::CCards()
{
for (TInt i=0; i<52; i++)
iDeck[i] = i;
}
|