When you initiate the array (i.e. int[][] array = new int[20][20];) every position is already filled with 0 (since a primitive cannot be null). So, if zero is not one of the numbers you are using, simply cycle through the arrays with a nested loop replacing 0 with 99.
Last edited by masijade; Jul 26th, 2007 at 4:56 am. Reason: forgot a )
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
Offline 4,043 posts
since Feb 2006