My question is:
Is it in any way, possible to go into a file and then when it comes to a line you specified it takes the input you want?
Like this:
192,160,2275,1,0,
|
I want this number.
How could i get that number?
The first 2 numbers at the example line could be 2 digits or 3 digits.
I am not a file I/O pro or something like that.
What needs to be done:
Read a file specified; (Not done)
Go to a specified line number; (Done)
go to the third number in the line; (Not done)
Read the number; (Not done)
Put the number in a IntList; (Done)
Could anyone please help me with opening the file and taking the 3rd number out?
Thanks in advance!
Niels
--- Update ---
I want the third number from the example! not the first one .