From b43727abb7f00b16664066ff22ec0e2a5140388b Mon Sep 17 00:00:00 2001 From: Shadow8t4 Date: Wed, 25 Oct 2017 08:45:19 -0500 Subject: [PATCH] Transferring. --- hw2/hw2pr1/hw2pr1.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 == ')') + { + } } }