int Array1[]; int Array3[][]; Array1 = {2,4,3,56,34,7,2}; int Arrlen = len(Array1); for(int i = 0; i < Arrlen; i++) { int num = Array1[i]; Array3[0][i] = num; }
Was hoping this would work but didnt, getting an error on i saying “Ambiguous to array index operator”. I need to get an array with within array to than later check which one in the array as less. I remember doing it one time and using @ to see what got stored but i forgot how it was done.