int i;
char a[5];
for(i=0;i<5;i++){
cin>>a[i];
cout<<"a["<<i<<"]="<<a[i]<<endl;;
}
但是当我输入21 45 58 69 36的时候,输出的是a[0]=2
a[1]=1...怎么搞啊。