I'm trying to code a 20x20 array, filled with zeros. I keep getting an error C2109 saying that my [i] in the loop meant to fill the array must be a pointer-to-object type. What does this mean and how can I fix it?
a) code tags.
b) each rows cell is a * to an array of ints so your type mismatching. you need to have another nested for loop and use it to iterate over columns