ok. I am having a problem with a function that calls a boolean. Here is my code. any comments appreciated!
bool showcomp(char isgameover);
void showcomphand(bool isgameover)
{
cout<<"My hand is: ";
if(!isgameover)
{
cout<<hiddencard<<" "<<endl;
}
for( int i = !isgameover; comphand[i] !=0; i++)
{
switch (comphand[i])
{
case 1: cout<<"A ";
break;
case 11: cout<<"J ";
break;
case 12: cout<<"Q ";
break;
case 13: cout<<"K ";
break;
default: cout<<comphand[i]<<" "<<endl;
break;
}
}
cout<<endl;
}