diff --git a/hw2/hw2pr1/hw2pr1.cpp b/hw2/hw2pr1/hw2pr1.cpp index 7d44473..225a674 100644 --- a/hw2/hw2pr1/hw2pr1.cpp +++ b/hw2/hw2pr1/hw2pr1.cpp @@ -22,9 +22,20 @@ node makeTree(string input, node n, int level) while(input.length() != 0) { + // If the char is a digit. if(tempc) { } + + // If the char is a comma. + else if(tempc == ',') + { + } + + // If the char is a close paranthesis. + else if(tempc == ')') + { + } } }