人的本质是复读机,输入一个字符串str,str中不只有数字、字母、汉字,还可能有空格。
请你原封不动的输出str。出现了编译错误,哪里出问题了呢?
#include<stdio.h>改成#include<iostream>
第二行下面加上using namespace std;
#include<iostream>
#include<stdio.h>
#include<string>
using namespace std;
int main(){
string s1="欢迎21级学弟学妹们报名三院科协!";
cout<<s1;
return 0;
}
不知道你这个问题是否已经解决, 如果还没有解决的话: