Using Iostream Classes for Formatted Output
Example 5 shows how to use the iostream classes for formatted output into a portal.
Example 5 – Using iostream classes for formatted output into a portal
// set up the RWPortal object, portal
RWPortalOStream ostrm(portal); //1
ostrm << "hello world" << endl; //2