Hey I got this program to create an array of playing cards and assign the values and suits and shuffle the array. I'm at the point where I need to output the cards but I need to burn the first card by making it output "**" instead of the card. my cards[] is a constant so I can's assign the first card as such. Any ideas how I can make this work? Thanks for any help
1 2 3 4 5 6 7 8 9 10 11 12 13
void showCards(constint cards[], int numCards, bool hideFirstCard)
{
if (cards[0])
{
hideFirstCard=true;
cards[0] = '**';
}
for(int a = 0; a <= numCards; a++)
{
cout >> showCard(cards[a]);
}
}