Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C++ Programming help needed
#4
You need a hierarchy of switches. The order should be based on Venn-diangram style possibilities or you can draw the classic logic diagram.

Something like

Code:
if (master = 0)
{
  if (gear = P)
{
   if (inside stuff) {}
   if (outsides stuff) {}
   if (dashboard stuff) {}//not necessarily in this order
}
}
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)