2016年8月5日

C++中的getline()

摘要: C++中本质上有两种getline函数,一种在头文件<istream>中,是istream类的成员函数。一种在头文件<string>中,是普通函数。 在<istream>中的getline函数有两种重载形式: istream& getline (char* s, streamsize n );ist 阅读全文

posted @ 2016-08-05 15:46 stackhacks 阅读(248) 评论(0) 推荐(0) 编辑

导航