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

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   // The output is surrounded by < and >, and prepended with Answer:
   uc.Format("Result = 'Answer: <' + Result + '>'");

   cout << uc.EvalStr("10+20") << endl;
   cout << uc.EvalStr("'Hello '+'world'") << endl;
   cout << uc.EvalStr("5 > 10") << endl;

   uc.FormatRemove();
}