public Node_Expr(string[] Src_Expr)
static int PrintLevel = 0;
for(int i = 0; i < PrintLevel; i++)
for(int i = 0; i<Len; i++)
int GetPrio(string Operand)
int ExprLen = Expr.Length;
string CurrOperand = Expr[i];
if(GetPrio(CurrOperand) <= Curr_Prio)
Curr_Prio = GetPrio(CurrOperand);
string[] For_Node_L = new String[SplitPos];
string[] For_Node_R = new String[ExprLen - SplitPos - 1];
for(i = 0; i < SplitPos; i++)
for(i = 0; i < For_Node_R.Length; i++)
For_Node_R[i] = Expr[i + SplitPos + 1];
Node_Expr Node_L = new Node_Expr(For_Node_L);
Node_Expr Node_R = new Node_Expr(For_Node_R);
string[] Expr_In_Current_Node = new String[1];
Expr_In_Current_Node[0] = Expr[SplitPos];
Expr = Expr_In_Current_Node;
if(Next_L.Expr.Length > 1)
if(Next_R.Expr.Length > 1)
string[] Src_Expr = {"5", "+", "6", "*", "4", "-", "25", "/", "5"};
n1 = new Node_Expr(Src_Expr);