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

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   auto intType = uc.DataTypeOf("Int32");
   intType.IsDefault(true);

   // Define a variable without specifying a type or initial value.
   auto myVar = uc.DefineVariable("myVar");

   // Check the variable's type.
   cout << "Default type is now: " << uc.DefaultDataType().Name() << endl;
   cout << "myVar's type is: " << myVar.DataType().Name() << endl;
}