I am trying to create a blackjack deck of cards (blackjack uses five decks... 5*52 = 260) Suit is irrelevant in blackjack.
How do I create my deck?
#include <iostream>
using namespace::std;
int main()
{
char thedeck[13]={'2','3','4','5','6','7','8','9','0','J','Q','K','A'};
char deck[260];
for (int i=0;i<20;i++)
{
for (int j=0;j<13;j++)
{
thedeck[j];
}
}
cout << deck;
system("PAUSE");
return 0;
}
:eek: