xhy_China wrote:
> Hello:
> This evening I make a cpp file(it's a sample of c++
> primer,chapter 3,string.cpp).The outline of it is below:
> #include <iostream>
Add the following here:
using std::istream;
using std:

stream;
Remember, anything from the standard library is in namespace std, so
you must qualify the names or put in a using directive.
Best regards,
Tom