I am trying to write a expression parser and evaluator in c++, I am fairly new to c++ and do not fully understand it yet, mostly coming from managed languages such as java.