C++标准模板库(STL)介绍:string的基本用法

1、带空格的字符串的输入

getline(cin, str)

猜你喜欢

转载自www.cnblogs.com/fuqia/p/9250409.html