read textfile to a 2D verctor in c99 : i have a textfile with some rows of text

i want to put the text into a 2D vector because i
need to be able to call each character seperatly [x][y]

this is what i got:

    int main() {
    	// Variable declarations
    	fstream file;
    	int i=0;
    	vector<vector<char> > maze(1,vector<char>(1));
    
    ifstream myReadFile;
    myReadFile.open("input.txt");
    
    while (!myReadFile.eof()) {
    
    
            for (int j=0; maze[i][j] != "\0"; j++){
                myReadFile  >> maze[i][j];
            }
         i++;
    
    }
    
    	file.close();
    	for (int i = 0; i < maze.size(); i++)
        {
            for (int j = 0; j < maze[i].size(); j++)
            {
                cout << maze[i][j];
            }
        }
            return 0;
    }

