Hi guys,
I'm new to c++ programming and I'm having some issues about reading from a .txt file. I need to read only one value inside a file which is full of other values which I don't care about right now. For exemple, assume that i need the number which is on the third line and the second column, in a file like this:
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
Which in this case is 10.
How con I extrapulate it?
No man I just wanted to input the numbers of line and column of the matrix element that i need (3 and 2 in the exemple) and then get what i want in output. Maybe to fulfill a vector with all the numbers and the take the ((3x2)-1)th element could be an option? Btw thank you so much for the advice.