Why can't you fill it with numbers in the definition? A matrix is just a multidimensional array so you will have...
Code:
var probe_matrix[3][4] = {1, 1, 1, 1,
                          2, 2, 2, 2,
                          3, 3, 3, 3
                         };



You can use a simple for loop and use if statements to check the value of each index.

Last edited by DJBMASTER; 09/15/09 17:48.