Trying to read a list of numbers in from the arraylist, and stick em into a matrix of int[][]
int[][] board;
board = new int[row][col];
ArrayList<Integer> temp = new ArrayList<Integer>();
so those are my two variables, and i have a for loop with variables, i and j...so I am trying to put the values of temp, into board, and it's not liking this method..
board = board[temp.get(i)][temp.get(j)];
^ why does that not work....or how can I get it to work...thanks.
Warning I get:
http://imageshack.us/photo/my-images/535/codeln.png/
-Austin