Remove the cout << array; line from the double loop. That's just printing the address of the array. You need to cout the elements of the array individually like cout << array[i][j];. Maybe make a new double loop to print the array after you close the file. And you'll need a cout << '\n'; (or cout << endl; if you prefer) at the end of every outer-loop iteration.
How would I go about printing the array with another double loop? Shouldn't I be able to print the array by itself because it now hold the numbers from the file? Also by making the second double loop after the file is closed, wouldn't I not be able to access the data I would need to print the array?