二維陣列. Definition. type name[num1][num2] = {}; e.g. int a[100][100];. 存值. cin >> a[0][0];. Assign. a[1][2] = 1;. 取值. cout << a[1][2] << endl;. 用途A.
確定! 回上一頁