33,311
社区成员
发帖
与我相关
我的任务
分享
/*
* C++.cpp
*
*
* Created by xxx on 08-12-10.
* Copyright 2008 cyc. All rights reserved.
*
*/
int main()
{
string str;
cout<< "Please enter your name \n";
cin >> str;
cout<< "Hello, " << str << "!\n";
}
#include <iostream>
#include <string>
using namespace std;
int main() {
string str;
cout<< "Please enter your name \n";
cin >> str;
cout<< "Hello, " << str << "!\n";
return 0;
}