#include <strstrea.h>

void main( void ) {

    char     *pch = "Watcom C++", s[20];

    istrstream     input ( pch );
    input >> s;
    cout  << "The first string in the istrstream object is \""
          << s << "\"" << endl;
    input >> s;
    cout  << "The second string in the istrstream object is \""
          << s << "\"" << endl;
}
