holding a reel in my prog
can someone help, i have my prog running but the hold reel function won't work. this is the spin reel function.
cout<<"Welcome to the Vegas Fruit Machine\n";
winningline = reel1.getcurrsymbl();
winningline = reel2.getcurrsymbl();
winningline = reel3.getcurrsymbl();
cout<<"Reel 1 Reel 2 Reel 3"<<endl;
cout<<winningline<<" "<<winningline<<" "<<winningline<<" "<<endl;
cout<<"After spin your credit is:- "<<credit<<endl;
i have a hold reel variable set as a bool, and the player is asked whether they want to hold the reel. trouble is if answer is yes the reels will still spin. how can i program them to hold if the holdreel1 value is true, after asking the player and their answer is converted to a true or false answer.