I saw the following in your code:

  • You're missing the closing parenthesis of GetBet(void)
  • You're also missing the opening parenthesis on the switch(Bet) in DoMoneyCalc()
  • You are using break; break; in the switch(Bet) statement, you only need 1 break;
  • Also in the switch(Bet) you have default; but you need to use default: (notice the : )

You should add main() type int

Tales Light Poster

I have an Excel file with M columns (A, B, ..., M) that i need to open to extract it's contents using a visual c++ program. Does anyone know how to do it?
The last row of the file is line 423 (first row contains the headers of each column). Any help would be appreciated!