Quote:
i have for 4, total combinations
0,0 to 0,15
1,0 to 1,15
2,0 to 2,15
3,0 to 3,15
4,0 to 4,15
As OriginalGriff said the easiest is to make this a 2D array of constants.
After that, in code, it just a matter of reading the array.
Try something like:
int Table[][]={{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15},
{16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31},
...};
and to read
MyVar= Table[0,15];