i already have 90% of it done i need help with some of the bugs
i need help with my if statement
if(int::Parse(dealersTotalInt-%26gt;Text)==21...
{
MessageBox::Show(userName+" the dealer got blackjack");
}
else
if (int::Parse(playersTotalInt-%26gt;Te...
{
MessageBox::Show(userName+" you got blackjack you won");
}
else
if (int::Parse(playersTotalInt-%26gt;Text)%26lt;15)
{
Windows::Forms::DialogResult buttonClicked;
buttonClicked = MessageBox::Show("Click yes if you want to hit \nClick no if you want to stand",
"HIT OR STAND",
MessageBoxButtons::YesNo,
MessageBoxIcon::Exclamation,
MessageBoxDefaultButton::Button2);
MessageBox::Show(String::Concat("You clicked on the ", buttonClicked, " button!"));
if (buttonClicked == Windows::Forms::DialogResult::Yes)
{
playerCard3-%26gt;Visible=true;
playersCardValue3-%26gt;Visible=true;
playersIntValue3-%26gt;Visible=true;
addCard()
I need help making a blackjack game in visual C++ 2008?
This is not even 30% of the code.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment