A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
Java in General
Evaluation of an expression
Joined: Jul 04, 2004
Aug 27, 2004 23:19:00
I want a suggestion regarding this problem.
The user can enter an expression in the textbox..
At the server side I have to evaluate whether the expression entered by the
user is a valid expression....(infix/postfix/prefix)
Can u suggest me a solution for this..how should i go about this problem.
Thanks in advance.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Aug 28, 2004 07:52:00
Seems to me that is essentially the problem solved by a compiler so you should look for tutorials on compiler writing. To give you a start, you will need some way to recognize/distinguish between operators and operands.
Have you tried LearnNowOnline?
subject: Evaluation of an expression
Anything wrong this regular expression
expression language is all in all
Jasper Reports - Commons Digester Problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015