#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; // Get the infix (subtraction) operator and check its operand count auto infixOp = uc.ItemOf("-", ItemIs::Infix); cout << "Infix '-' operator has " << infixOp.Count(); cout << " operand(s)." << endl; // Get the prefix (negation) operator auto prefixOp = uc.ItemOf("-", ItemIs::Prefix); cout << "Prefix '-' operator has " << prefixOp.Count(); cout << " operand(s)." << endl; }