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

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   uCalc::Transformer t;
   uCalc::String s;

   // Implicitly set the Text property
   t = "Source text with foo.";
   s = "bar";

   // Use the objects in a standard way
   t.FromTo("foo", s.Text());
   t.Transform();

   // Implicitly get the Text property
   cout << t << endl;
}