类 ostream 对象 cout 成员函数 put() getline()是istream类的一个类方法 cin是一个istream对象 cin.getline(charrrr,20) “类的cin对象用了getline()方法”