i have no idea whats wrong with this function =\
void throw_cards(card h_cards[])
{
char f;
cleardevice();
while(f!='f')
{
printf("from 0 to 6 pick the cards you want to thorw\n");
printf("to finish hit 'f'");
f=getch();
printf("trowing card %c",f);
}
}
i get the error: Type mismatch in redecleration on 'throw_cards'
and it shows me the 2ND line
{