Using Iostream Classes for Formatted Input
Example 6 shows how to use the iostream classes for formatted input.
Example 6 – Using iostream classes for formatted input
// set up the RWPortal object, portal
RWPortalIStream istrm(portal); //1
RWCString s;
istrm >> s; //2