Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dice Game
#5
WTF???
Code:
if (iPlayerGuess < 0 || iPlayerGuess > 12){
      main();
   }
That's just not a good programming practice. Use a while, try to avoid recursions at most!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)