Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これをいくつか定義したい:
int m=5; int [,] matrix=new int[4,m];
出来ますか?
配列名は行列で、次元は 3*3 です。このコードは、必要に応じて変更できます。
int m=3 int [,] matrix = int [3,m] = { {0, 1, 2, 3} , {4, 5, 6, 7} , {8, 9, 10 } };