10-23-2005, 11:20 AM
|
#1
|
|
Member (7 bit)
Join Date: May 2004
Posts: 103
|
Trees
I am working on a function navigate through an expression stored in a tree and evaluate that expression. For instance if the expresion were 4 + 5 - 3 the program could retrieve the number 4 then the plus sign then 5 and add them together than go and get the minus and 3. I have gotten it to work for this small expression by specifying the order but cannot figure out how to make it scalable to larger equations(say 4 + 5 + 6 -7 +3).
Any suggestions greatly appreciated,
SHaticus
|
|
|