I am having trouble passing a data value to a function. Here is my code:
void get_hand()
{
char card[3]("A");
int number(0),
score(0);
instructions();
cout << "How many cards are you holding? ";
cin >> number;
value_check(number);
do
{
cout << "Enter...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.