?? 代碼.txt
字號:
#include<iostream>
using namespace std;
int count=0;
void main()
{
int i,j; count++;
int a[4][4]={{1,2,3,4},{3,4,5,6},{5,6,7,8},{4,5,6,7}}; count++;
int b[4][4]; count++;
for(i=0;i<=3;i++)
{ count++;
for(j=0;j<=3;j++)
cout<<a[i][j]<<" "; count++;
cout<<endl; count++;
}
cout<<endl; count++;
for(i=0;i<=3;i++)
{ count++;
for(j=0;j<=3;j++)
b[j][i]=a[i][j]; count++;
}
for(i=0;i<=3;i++)
{ count++;
for(j=0;j<=3;j++)
cout<<a[i][j]<<" "; count++;
cout<<endl; count++;
}
for(i=0;i<=3;i++)
{ count++;
for(j=0;j<=3;j++)
cout<<b[i][j]<<" "; count++;
cout<<endl; count++;
}
cout<<endl;
cout<<count<<endl;
}
#include<iostream>
using namespace std;
int count=0;
void main()
{
int i,j; count++;
int a[4][4]={{1,2,3,4},{3,4,5,6},{5,6,7,8},{4,5,6,7}}; count++;
int b[4][4]; count++;
for(i=0;i<=3;i++)
{ count++;
for(j=0;j<=3;j++)
cout<<a[i][j]<<" "; count++;
cout<<endl; count++;
}
cout<<endl; count++;
for(i=0;i<=3;i++)
{ count++;
for(j=0;j<=3;j++)
b[j][i]=a[i][j]; count++;
}
for(i=0;i<=3;i++)
{ count++;
for(j=0;j<=3;j++)
cout<<a[i][j]<<" "; count++;
cout<<endl; count++;
}
for(i=0;i<=3;i++)
{ count++;
for(j=0;j<=3;j++)
cout<<b[i][j]<<" "; count++;
cout<<endl; count++;
}
cout<<endl;
cout<<count<<endl;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -