So i can't seem to figure this one out. How do i pass a 2D array to a function by reference, or as a pointer, or any way that will allow me to edit it and have it change the original? I guess a better description would be. I have a multiple classes that need to access and edit the contents of a 2d array. so how can i have each class store a pointer or a reference to the main array so that they can read and edit it?