数组为什么输出的信息是十六进制的。???? 谢谢。!!
#include <iostream.h>
int main()
{
int i,j;
int a[2][3];
for( i=0; i<2; i++ )
for( j=0; j<3; j++ )
cin >> a[i][j];
for( i=0; i<2; i++)
for( j=0; j<3; j++ )
{
cout << a[i];
cout << endl;
}
cin.get();
cin.get();
}
1
2
3
4
5
6
0x22ff40
0x22ff40
0x22ff40
0x22ff4c
0x22ff4c
0x22ff4c