若是这样写的话
int a[3][3][2]={
{100,200},{101,201},{102,202},
{300,400}, {301,401},{302,402},
{500,600},{501,601},{502,602}
};
电脑理解成了:
int a[3][3][2]={
{100,200,0,0,0,0},{101,201,0,0,0,0},{102,202,0,0,0,0}
};
歡迎光臨 code.club (https://code.club/) | Powered by Discuz! X3.2 |