#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; { uCalc::String s("The quick brown fox."); s.Owned(); // Causes s to be released when it goes out of scope // Replace returns the modified String object s.Replace("brown", "red"); // Use implicit conversion to print the result cout << s << endl; } }