C++输入带空格的函数

getline(cin,str);//str为string类型
posted @ 2025-02-25 19:29  yizhixiaozhu  阅读(9)  评论(0)    收藏  举报