回复 4楼 张海锋
VS2008编译正常

我总觉得授人以鱼不如授人以渔...
可是总有些SB叫嚣着:要么给代码给答案,要么滚蛋...
虽然我知道不要跟SB一般见识,但是我真的没修炼到宠辱不惊...
#include <iostream> using namespace std; int main() { int shu1[3][4]={1,2,3,4,5,6,7,8,9,10,11,12},he[4][3]={}; for(int a=0;a<=3;a++) { for(int b=0;b<=2;b++) { he[a][b]=shu1[b][a]; //注意不是shul[b][0] cout<<he[a][b]<<'\t'; } cout<<endl; } return 0; } }