Thread: Data Structures / prefix and postfix

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    17

    Question Data Structures / prefix and postfix

    Hi...

    I'm having a few problems with the book that I have regarding prefix and postfix portion of data structures. I was wondering if anyone knew of a web site that might have a few examples that I could learn from.

    thanks
    Thanks,

    -Rick

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    17
    Maybe someone can tell me if I'm right or wrong:

    prob: Translate each of the following expressions from prefix to postfix:


    a) / + x y ! n (prefix)


    x y + / n ! (my answer in postfix)



    b) / + ! x y n (prefix)


    x y + / n ! (my answer in postfix)

    These are my results, I'm just looking to see if I am doing this right.
    Thanks,

    -Rick

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Little question about postfix and prefix
    By firebird in forum C Programming
    Replies: 3
    Last Post: 05-08-2008, 07:27 AM
  2. Is prefix faster than postfix?
    By dwks in forum C Programming
    Replies: 6
    Last Post: 07-28-2005, 11:51 AM
  3. Templated Binary Tree... dear god...
    By Nakeerb in forum C++ Programming
    Replies: 15
    Last Post: 01-17-2003, 02:24 AM
  4. postfix and prefix...???
    By matheo917 in forum C++ Programming
    Replies: 8
    Last Post: 04-20-2002, 01:19 PM
  5. data structures (postfix/prefix)
    By rickc77 in forum C Programming
    Replies: 3
    Last Post: 12-10-2001, 06:44 AM