equal
deleted
inserted
replaced
24 |
24 |
25 ///Struct to be able to evaluate expressions. |
25 ///Struct to be able to evaluate expressions. |
26 |
26 |
27 ///Initial values of map elements can be given |
27 ///Initial values of map elements can be given |
28 ///by numbers or by expressions. From expressions |
28 ///by numbers or by expressions. From expressions |
29 ///we build first a tree. This is the data structure |
29 ///we build first a tree according to the priorities |
|
30 ///of operations in the expression. This is the data |
|
31 ///structure |
30 ///that can store one tree element. |
32 ///that can store one tree element. |
31 struct tree_node |
33 struct tree_node |
32 { |
34 { |
33 ///Character stored in this tree element |
35 ///Character stored in this tree element |
34 char ch; |
36 char ch; |