c++字符数组de输入

#include<iostream>
#include<cstring>
using namespace std;
int main()
{
char a[20],b[20];
int c;
cin>>a>>b>>c;
cout<<a<<" "<<b<<" "<<c<<endl;
return 0;

}

posted @ 2014-04-02 17:13  盒子先生★  阅读(186)  评论(0编辑  收藏  举报