I have two for loops inside a while loop but when I execute the program, the while loop just becomes an infinite loop. Here is my code:
    while (!inFile1.eof()){
       for (int row = 0; row < 5, row++;){
            for (int column = 0; column < 5, column++;){
            getline(inFile1, fileData, (','));
            matrix1[row][column] = stoi(fileData);
            cout << matrix1[row][column];
            }
        }       
    }
I'm new to C++ so maybe I have made a silly error but I'd appreciate any help
 
    