怎么输出一串字符?
#include<iosream>
using namespace std;
int main(){
string s;
while(cin >> s) cout <<s << endl;
}
#include<stdio.h>
char s[1000];
while(scanf("%s",s)!=EOF)printf("%s\n" ,s);