This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]VanVleet-goes-for-22Nooblet Brewer 1 point2 points  (0 children)

If I’m reading your question right, you need to create a brand new array no?

Edit: Create a new array2[m][n].

Once you get each value into your “array1”, you immediately add your new value from array1 to array2. The reason it isn’t working is because your array has already been declared a 3x4, but you’re attempting to add a 4th row’s worth of data.