#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; // 1. Create a uCalc.String with a parent uCalc instance { uCalc::String s(uc, "The user is ."); s.Owned(); // Causes s to be released when it goes out of scope // 2. Use the fluent, token-aware API s.After("is").Between("<", ">").ToUpper(); // 3. The original string is modified in-place cout << s << endl; }; }