i want to read in several 4*4
squares of numbers from a file and determines whether or not each of those squares is an increasing square.
file containing numbers
3
1 2 3 4
2 3 4 5
6 7 8 9
5 6 7 8
1 2 3 4
2 3 4 5
5 6 7 8
6 7 8 9
10 11 12 20
13 15 16 19
14 20 25 30
20 22 27 33
until now this is what i did
char fileName[100];
cout <<" please enter the name of the data file "<< endl; // prmot the user to enter the name of the datafile
cin>>fileName; // user inputs the file
ifile.open(fileName); // ifile stream looks for the file
ifile>>n;
cout<<"The data for "<< n << " number of contributions has been read. " <<endl;
cout << "\n";
where n is the number in the first line of the numbers
how to put the numbers in 2-d array