I am going to make a program that can analyse a algebraic expression. For example: <?php echo cal (\'5*5+2*2\');
I\'ve been trying to figure out this problem. I have an assignment to make a basic calculator. To do so i need the instructions in postfix.
long story short my lecturer is crap, and was showing us infix to prefix stacks via an overhead projector and his bigassshadow was blocking everything so i missed the important stuff
I am trying to make a converter from postfix to infix notation and need some help. There is already a question about infix-to-postfix conversion, which gives an example I am failing to convert back. (
I am testing an infix-to-postfix-to-infix converter and found some kind of uncertainty. For example, a simple infix sum
I\'m quite new to Scala programming language, and was trying something out stucked in my mind while I was following the lecture notes at here.
in Scala, if I want to implement a DSL, is there a way to do the following: I have an Object called \"Draw\" which contains the function def draw(d:Drawable)
My task is to write an app(unfortunatly on C) which reads expression in infix notation(with variables, unary and binary operators) and store it in memory, then evaluate it. Also, checks for correctnes