返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     int num[2][2];
  7.     num[0][0]=1;
  8.     num[0][1]=2;
  9.     num[1][0]=3;
  10.     num[1][1]=4;
  11.    
  12.     cout<<num[0][0]<<endl;
  13.     cout<<num[0][1]<<endl;
  14.     cout<<num[1][0]<<endl;
  15.     cout<<num[1][1]<<endl;
  16.    
  17. system("pause");
  18.     return 0;   
  19. }
複製代碼

TOP

返回列表