The contents of file.txt are:
5 3
6 4
7 1
10 5
11 6
12 3
12 4
Where 5 3 is an organised pair. How would I deal with this information line by line in C++?
I'm ready to get the first line, however, how would I get the following line of the file?
ifstream myfile;
myfile.open ("file.txt");