I have an assignment that I have to create a randomly sized 3D array, write it into a a binary file, then read the binary file back into the program and create another 3D array that's the same as the first. I'm having problems reading back into the program, after hours I can only get the first int, or the last, from the prior array. I haven't gotten into passing the first 2D's yet so I just allocated some space to make the array work, but once I get this that should come quickly. The readData() method is the one giving me problems. Thanks in advance.I have an assignment that I have to create a ra