I am not sure how to pass a 2-D array through when calling it in main. Could anyone provide some insight. I looked through references, but everything I have tried has taken away errors for that section only to put errors somewhere else. I thought it should be passed by references/pointers. Btw please ignore the efficiency of the code. I will use for loops to condense after getting the program to work.