Results 1 to 5 of 5
Thread: Postfix this!!
- 09-07-2009, 05:00 PM #1
Member
- Join Date
- Jul 2008
- Posts
- 19
- Rep Power
- 0
-
I know that this is irrelevant to your question, but your expression as shown appears to be always false. EDIT: this is incorrect. Instead it appears to contain a redundant boolean. Sorry.
Regarding changing infix to postfix, I've found many fine tutorials online via Google. Have you given that a go yet? If so, what have you found? What have you tried?
Best of luck.
Edit: I did another search since it's been a while since I've looked this. On first glance, the Wikipedia article on this looks not bad. Why not give it a look:
Shunting Yard AlgorithmLast edited by Fubarable; 09-07-2009 at 06:34 PM.
- 09-07-2009, 06:00 PM #3
Member
- Join Date
- Jul 2008
- Posts
- 19
- Rep Power
- 0
I have coded till the stack filling out the year and the number,, but i am stuck with the operator precendence thing. I dont no what to do it and how to do it,
I have search on the net,, but i am confused abt the code..
-
I'm no pro at this, but there are others here who are... but to better allow them/us to help you, please post what you have so far. So please post your code (with code tags -- see my signature), and if you have any data files, post those too.
Much luck!
edit: I've just reviewed the Wikipedia article, and it does in fact address operator precedence. It's all there! :)Last edited by Fubarable; 09-07-2009 at 06:31 PM.
- 09-07-2009, 06:44 PM #5
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Similar Threads
-
Postfix into prefix and vice versa
By sfe23 in forum New To JavaReplies: 9Last Post: 02-19-2009, 10:37 PM -
Postfix Evaluation using a Stack, Help?
By dalangley in forum New To JavaReplies: 2Last Post: 02-16-2009, 10:43 PM -
Postfix-Notation
By little_polarbear in forum New To JavaReplies: 9Last Post: 09-09-2008, 04:24 PM -
How to convert infix arithmetic expressions to postfix
By Java Tip in forum java.langReplies: 0Last Post: 04-15-2008, 07:36 PM -
How to parse postfix arithmetic expressions
By Java Tip in forum java.langReplies: 0Last Post: 04-15-2008, 07:36 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks