#include<string> using namespace std; int main(int argc, char *argv[]) { string s; cin>>s; cout<<s<<endl;; return 0; }
#include <iostream>
#include<string>
using namespace std;
int main(int argc, char *argv[])
{
string s;
cin>>s;
cout<<s<<endl;
return 0;
}
****************************************************************************************************************************
#include <iostream> #include<string> using namespace std; int main(int argc, char *argv[]) { string s; getline( cin, s) ; cout<<s<<endl; return 0; }
#include <iostream>
#include<string>
using namespace std;
int main(int argc, char *argv[])
{
string s;
getline( cin, s) ;
cout<<s<<endl;
return 0; }
#include <iostream> #include<string> using namespace std; int main(int argc, char *argv[]) { string s; while (getline(cin,s)) cout<<s<<endl; return 0; }
#include <iostream>
#include<string>
using namespace std;
int main(int argc, char *argv[])
{
string s;
while ( getline( cin, s) )
cout<<s<<endl;
return 0; }
*********************************************************************************************************
#include <iostream> #include <string> using namespace std; main () { char s[100]; cin.getline (s, 100); cout << name <<endl; }