写一函数,将两个字符串连接

Description

写一函数,将两个字符串连接

Input

两行字符串

Output

链接后的字符串

Sample Input

123
abc

Sample Output

123abc
#include
#include
using namespace std;
int main()
{string a,b,c;
cin>>a;
cin>>b;
c=a+b;
cout<<c;
cout<<endl;
return 0;
}
posted @ 2013-12-22 15:56  IT专业户  阅读(321)  评论(0编辑  收藏  举报