OTString strMessage("Hello World!"); std::cout << strMessage.Get() << std::endl;
OTString strInput; std::getline(std::cin, strInput);This example creates an empty OTString object called `strInput` and reads a line of text from the console using the `getline()` function. The input is stored in `strInput`. Package library: Open Transactions (OT) library.