10

输入字符串
scanf("%s",str)//无法读入空格
scanf("%[^\n]",str)//读入空格
getline(cin,str);
全部评论

相关推荐

1 收藏 评论
分享
牛客网
牛客企业服务