Transferring.
This commit is contained in:
parent
7cdb637668
commit
b43727abb7
1 changed files with 11 additions and 0 deletions
|
@ -22,9 +22,20 @@ node makeTree(string input, node n, int level)
|
||||||
|
|
||||||
while(input.length() != 0)
|
while(input.length() != 0)
|
||||||
{
|
{
|
||||||
|
// If the char is a digit.
|
||||||
if(tempc)
|
if(tempc)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the char is a comma.
|
||||||
|
else if(tempc == ',')
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// If the char is a close paranthesis.
|
||||||
|
else if(tempc == ')')
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue