Make your own free website on Tripod.com

Mathematic Expression Processing

CMathEquation<complex> equation("A + (B / (C + 1.23))");

equation.SetVariable("A", 3.42);

equation.SetVariable("B", 5.78);

equation.SetVariable("C", 1.23);

double Result = equation.Evaluate();

MathEq.h - Math equation header file.

TSingLst.h - Supporting file to provide singly linked-list.

TStack.h - Supporting file to provide stack.