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

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   cout << "Items with the Prefix property" << endl;
   cout << "------------------------------" << endl;
   for(auto item : uc.GetItems(ItemIs::Prefix)) {
      cout << item.Name() << endl;
   }

   cout << "" << endl;
   cout << "Different versions of the + operator" << endl;
   cout << "------------------------------------" << endl;
   for(auto item : uc.GetItems("+")) {
      cout << item.Text() << endl;
   }
}