会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
又一岁荣枯
1111111111
博客园
首页
新随笔
联系
订阅
管理
2022年2月16日
string类与getline(cin,str)函数
摘要: 题目详情 题解与和知识点 getline(cin,str)输入一行 直接cin>>str只能接收空格之前的字符串。 #include <iostream> #include <string> #include <algorithm> using namespace std; int main() {
阅读全文
posted @ 2022-02-16 18:14 又一岁荣枯
阅读(45)
评论(0)
推荐(0)
公告