"Expected unqualified-id before ‘{' token" I keep getting the error for lines 13, 36 and 49.
I also get the error "Expected initializer before "int" " on line 9. I have no clue why it's doing this. I'm sure it's something simple and I'm just overlooking it. Keep in mind the code is NOT done. I just like to compile as I go so I don't end up with TONS of errors in the end.Thanks for any help!
void welcome();
{
cout << "Welcome to Coin Toss!" << endl;
cout << "----------------------" << endl;
cout << "This game is played by placing a bet and then tossing four coins. The results are as follows: 2 Heads and 2 Tails is a draw; 3 Heads";
cout << "and you win your bet amount; 4 Heads and you win double your bet; 3 or 4 Tails and you lose your bet. You have $128 to start. Good Luck";
cout << "and have fun!" << endl;
cout << "----------------------" << endl;
You are missing ending semicolons on two of your function declarations. And you are missing namespace qualifiers on all of your C++ standard library calls (or using declarations, as appropriate). Also, main is called with two parameters. Always declare them. If you do not intend to use them, declare main as int main(int, char**).