Re: evaluate postfix problem

From: Victor Bazarov (v.Abazarov_at_comAcast.net)
Date: 07/11/04


Date: Sat, 10 Jul 2004 23:53:28 GMT


"Henry Jordon" <buffer_88@hotmail.com> wrote...
> ok I have my problem entering in an expression in infix notation and
> it outputs the postfix notation. I now need to evaluate the postfix
> notation. I have some code written and there are comments as to what I
> want to do but am unable to get it to work. So if someone could please
> help me it would greatly be appreciated. Thanks for your help.
>
> code:
>
[...]

Have you tried the FAQ? I recommend 5.8, it should clear some things
up for you. Find FAQ here: http://www.parashift.com/c++-faq-lite/

HTH

V



Relevant Pages

  • Re: All languages are equally fit
    ... >> something unfamiliar (postfix notation in this case), ... Nathan> Why would I introduce a completely different notation from ... invoking the insight in the reader. ...
    (sci.lang)
  • Re: Universal grammar
    ... Hans> problems do not occur, because one just skips over them! ... Hans> formal system in Lukasiewicz style prefix notation, ... Heard of reverse-Polish notation or postfix notation? ... infix notation to a Japanese or any other person whose mother tongue ...
    (sci.lang)
  • Re: silly question: prefix vs postfix ops
    ... the answer has more to do with the compiler. ... prefix operators that could just as well be postfix? ... In the Lukasiewicz notation, all operators are prefix. ... postfix notation was invented later - it is particularly easy to ...
    (comp.compilers)
  • Re: Nexus Programming Language
    ... I don't much like combining postfix notation with right-to-left ... evaluation. ... right of the operands, I'd prefer operands be evaluated right-to-left. ... But postfix notation is just so natural: ...
    (comp.lang.ruby)
  • Re: All languages are equally fit
    ... >> something unfamiliar (postfix notation in this case), ... Nathan> that that is most common and used in the textbook? ... be interpreted when subjected to interpretation rules from outside the ...
    (sci.lang)