64,444
社区成员
发帖
与我相关
我的任务
分享
int fun(char *c)
{
int i = 0;
while(c[i] != '\0')
{
++i;
}
return i;
}
#include<string>
#include<iostream>
#include<sstream>
using namespace std;
int main()
{
string str;
getline(cin,str);
cout<<str<<endl;
return 0;
}