programming paradigms

Discussion in 'OT Technology' started by hurleyint1386, Feb 17, 2006.

  1. hurleyint1386

    hurleyint1386 Someone has sand in their vagina

    Joined:
    Jan 6, 2005
    Messages:
    3,687
    Likes Received:
    0
    Location:
    Rochester, NY
    hey, can anyone help explain post fix expressions?
    i have these original expressions.....
    a << b < c < d >> e == f >> g
    a & b ^ c & d || e << f != g << h
    a > b && c >> d || e << f != g << h
    a += b -= c *= d >> e

    i wrote out the trees for them, however im not sure exactly what to do (i think you're supposed to do the tree first at least)

    anyone?
     
  2. hurleyint1386

    hurleyint1386 Someone has sand in their vagina

    Joined:
    Jan 6, 2005
    Messages:
    3,687
    Likes Received:
    0
    Location:
    Rochester, NY
    for the third one, would it be:
    a b c d > >> && e f g h << << != || ?
     
  3. antiyou

    antiyou OT Supporter

    Joined:
    Jul 13, 2005
    Messages:
    25,295
    Likes Received:
    0
    Location:
    in ur base
    I haven't done this in a while so if you refresh my memory I may be able to help.
     
  4. RyanL

    RyanL OT Supporter

    Joined:
    Nov 30, 2004
    Messages:
    4,584
    Likes Received:
    0
    Location:
    St. Paul, MN
    I'm currently taking this class right now, and I don't even understand what you are asking...
     
  5. Frequency

    Frequency New Member

    Joined:
    Dec 30, 2004
    Messages:
    7,504
    Likes Received:
    0
    Location:
    PA
    Oh polish notation? i love these hold on
     
  6. Frequency

    Frequency New Member

    Joined:
    Dec 30, 2004
    Messages:
    7,504
    Likes Received:
    0
    Location:
    PA
    a << b < c < d >> e == f >> g

    a & b ^ c & d || e << f != g << h

    a > b && c >> d || e << f != g << h

    a += b -= c *= d >> e


    oh fuck it its been to long if i have free time at work tomorrow i'll do them
     

Share This Page