#include <iostream>
#include "uCalc.h"

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   // Eval provides a direct way to compute results from strings.
   cout << uc.Eval("1+1") << endl;
   cout << uc.Eval("5*(3+9)^2") << endl;
   cout << uc.Eval("Sqrt(16) + Sin(0)") << endl;
   cout << uc.Eval("Length('This is a test')") << endl;
}