Problems with int errors

remember it's a forum to help people learn - not to do it for them

So yes, run that as a fully separate project.

you need to study the code I provided. It will help. you understand how to define a variable that can refer to a 2D array (or one for a 1D array if you use the compact binary form)