Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C++ Programming help needed
#3
Untradeable Wrote:Why not use a switch statement instead of a bunch of chain if/then statements? If you have only 9 boolean combinations that are correct that is.

Err, I haven't had any practice with switch statements in class. I'll go over my notes on it and look in the book to see if I can figure it out doing that!
Reply


Messages In This Thread
C++ Programming help needed - by InvictHero - 2014-02-25, 06:43 PM
C++ Programming help needed - by Untradeable - 2014-02-25, 06:47 PM
C++ Programming help needed - by InvictHero - 2014-02-25, 06:50 PM
C++ Programming help needed - by VerrKol - 2014-02-25, 06:52 PM
C++ Programming help needed - by InvictHero - 2014-02-25, 06:59 PM
C++ Programming help needed - by Fiel - 2014-02-25, 07:00 PM
C++ Programming help needed - by InvictHero - 2014-02-25, 07:07 PM
C++ Programming help needed - by InvictHero - 2014-02-25, 07:26 PM
C++ Programming help needed - by SaptaZapta - 2014-02-25, 10:42 PM
C++ Programming help needed - by InvictHero - 2014-02-25, 10:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)