C++中有两个字符串类的变量st1,str2,要求从键盘输入it's a fine day?字符串给str1,输入yes, it's给str2,最后从屏幕输出it's a fine day?yes, it's给str2,求解答。
接收了再输出啊,有什么问题?
可以使用gets函数读取有空格的字符串