If i have a file that has a table of 64*64 integers. (The first 64 will be row 0; the next 64 will be row 1, and so on..). How do I store that table into a 2D array. Here is my code
 #include <iostream>
    #include <fstream>
    using namespace std;
    int main()
    {   
        ifstream infile;
        infile.open("table.txt");
        if (infile.fail())
        {
            cout << "could not open file" << endl;
            exit(6);
        }
        int array[63][63];      
        while (!infile.eof())
        {
            infile >> array[63][63];
        }
        cout << array[63][63] << endl;
        return 0;
    }
when this is executed I only get "1"
 
     
    